EthernetNetIf Compatibility.

Dependents:   XBeeWiFi_SPI_example

Fork of NetServicesSource by Donatien Garnier

Revision:
4:fd826cad83c0
Parent:
0:632c9925f013
--- a/lwip/netif/ppp/chpms.c	Fri Jun 18 10:38:57 2010 +0000
+++ b/lwip/netif/ppp/chpms.c	Fri Jul 09 14:46:47 2010 +0000
@@ -325,7 +325,7 @@
   MDupdate(&md4Context, unicodePassword, secret_len * 2 * 8);  /* Unicode is 2 bytes/char, *8 for bit count */
 
   if (low_byte_first == -1) {
-    low_byte_first = (htons((unsigned short int)1) != 1);
+    low_byte_first = (PP_HTONS((unsigned short int)1) != 1);
   }
   if (low_byte_first == 0) {
     /* @todo: arg type - u_long* or u_int* ? */