1 |
|
/** |
2 |
|
* @file |
3 |
|
* |
4 |
|
* lwIP network interface abstraction |
5 |
|
*/ |
6 |
|
|
7 |
/* |
/* |
8 |
* Copyright (c) 2001-2003 Swedish Institute of Computer Science. |
* Copyright (c) 2001-2003 Swedish Institute of Computer Science. |
9 |
* All rights reserved. |
* All rights reserved. |
138 |
if(tmpNetif == NULL) |
if(tmpNetif == NULL) |
139 |
return; /* we didn't find any netif today */ |
return; /* we didn't find any netif today */ |
140 |
} |
} |
141 |
|
/* this netif is default? */ |
142 |
if(netif_default == netif) |
if (netif_default == netif) |
143 |
|
/* reset default netif */ |
144 |
netif_default = NULL; |
netif_default = NULL; |
145 |
|
|
146 |
DEBUGF(NETIF_DEBUG, ("netif_remove: removed netif")); |
DEBUGF(NETIF_DEBUG, ("netif_remove: removed netif")); |