diff options
Diffstat (limited to 'lwip/port/netif/ifcommon.c')
-rw-r--r-- | lwip/port/netif/ifcommon.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lwip/port/netif/ifcommon.c b/lwip/port/netif/ifcommon.c index 5a1c68a2..a7f28351 100644 --- a/lwip/port/netif/ifcommon.c +++ b/lwip/port/netif/ifcommon.c @@ -25,8 +25,6 @@ #include <net/if.h> #include <errno.h> -#include <lwip/netifapi.h> - /* Open the device and set the interface up */ static error_t if_open (struct netif *netif) @@ -40,7 +38,7 @@ if_open (struct netif *netif) { /* Up the inerface */ ifc->flags |= IFF_UP | IFF_RUNNING; - netifapi_netif_set_up (netif); + netif_set_up (netif); } return err; @@ -59,7 +57,7 @@ if_close (struct netif *netif) { /* Down the inerface */ ifc->flags &= ~(IFF_UP | IFF_RUNNING); - netifapi_netif_set_down (netif); + netif_set_down (netif); } return err; |