mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
Don't call the link-callback from netif_set_up/down() since
this invalidly retriggers DHCP.
This commit is contained in:
parent
2e8de4f601
commit
8712deb0b2
@ -70,6 +70,10 @@ HISTORY
|
||||
|
||||
++ Bugfixes:
|
||||
|
||||
2010-01-31: Simon Goldschmidt
|
||||
* netif.c: Don't call the link-callback from netif_set_up/down() since
|
||||
this invalidly retriggers DHCP.
|
||||
|
||||
2010-01-29: Simon Goldschmidt
|
||||
* ip_addr.h, inet.h, def.h, inet.c, def.c, more: Cleanly separate the
|
||||
portability file inet.h and its contents from the stack: moved htonX-
|
||||
|
@ -405,7 +405,6 @@ void netif_set_up(struct netif *netif)
|
||||
snmp_get_sysuptime(&netif->ts);
|
||||
#endif /* LWIP_SNMP */
|
||||
|
||||
NETIF_LINK_CALLBACK(netif);
|
||||
NETIF_STATUS_CALLBACK(netif);
|
||||
|
||||
#if LWIP_ARP
|
||||
@ -440,7 +439,6 @@ void netif_set_down(struct netif *netif)
|
||||
snmp_get_sysuptime(&netif->ts);
|
||||
#endif
|
||||
|
||||
NETIF_LINK_CALLBACK(netif);
|
||||
NETIF_STATUS_CALLBACK(netif);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user