my fork for nimqtt

Dependencies:   Socket lwip-eth lwip-sys lwip

Fork of EthernetInterface by Guilhem Saurel

Files at this revision

API Documentation at this revision

Comitter:
emilmont
Date:
Sat Aug 04 13:44:35 2012 +0000
Parent:
21:8cd2de462559
Child:
23:5d5b40c4378b
Commit message:
Change "ethernet_input" with "tcpip_input"

Changed in this revision

EthernetInterface.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/EthernetInterface.cpp	Fri Aug 03 14:43:57 2012 +0000
+++ b/EthernetInterface.cpp	Sat Aug 04 13:44:35 2012 +0000
@@ -51,7 +51,7 @@
     tcpip_inited.wait();
     
     memset((void*) &lpcNetif, 0, sizeof(lpcNetif));
-    netif_add(&lpcNetif, ipaddr, netmask, gw, NULL, lpc_enetif_init, ethernet_input);
+    netif_add(&lpcNetif, ipaddr, netmask, gw, NULL, lpc_enetif_init, tcpip_input);
     netif_set_default(&lpcNetif);
     netif_set_status_callback(&lpcNetif, netif_status_callback);
 }