mbed IP library over Ethernet

Fork of EthernetInterface by mbed official

Revision:
22:2a797ba9babe
Parent:
21:8cd2de462559
Child:
26:dd9794ce1d64
--- 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);
 }