Karl Karpfen wrote:
> in lwiplib.c / lwIPInit() there is a statement
>
> if(lwipIf->ipMode == IPADDR_USE_STATIC)
> {
> ip_addr.addr = htonl(lwipIf->ipAddr);
> net_mask.addr = htonl(lwipIf->netMask);
> gw_addr.addr = htonl(lwipIf->gwAddr);
> }
>
> which seems to be responsible for exchanging the byteorder.
This code is from the TI port, not from us. The TI port seems to store IP
addresses in host byte order where lwIP uses network byte order.
Simon
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users