EthernetNetIf Compatibility.

Dependents:   XBeeWiFi_SPI_example

Fork of NetServicesSource by Donatien Garnier

Revision:
5:dd63a1e02b1b
Parent:
4:fd826cad83c0
diff -r fd826cad83c0 -r dd63a1e02b1b lwip/core/def.c
--- a/lwip/core/def.c	Fri Jul 09 14:46:47 2010 +0000
+++ b/lwip/core/def.c	Tue Jul 27 15:59:42 2010 +0000
@@ -75,7 +75,7 @@
 u16_t
 lwip_ntohs(u16_t n)
 {
-  return htons(n);
+  return lwip_htons(n);
 }
 
 /**
@@ -102,7 +102,7 @@
 u32_t
 lwip_ntohl(u32_t n)
 {
-  return htonl(n);
+  return lwip_htonl(n);
 }
 
 #endif /* (LWIP_PLATFORM_BYTESWAP == 0) && (BYTE_ORDER == LITTLE_ENDIAN) */