mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-03 21:32:08 +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:
|
++ 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
|
2010-01-29: Simon Goldschmidt
|
||||||
* ip_addr.h, inet.h, def.h, inet.c, def.c, more: Cleanly separate the
|
* 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-
|
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);
|
snmp_get_sysuptime(&netif->ts);
|
||||||
#endif /* LWIP_SNMP */
|
#endif /* LWIP_SNMP */
|
||||||
|
|
||||||
NETIF_LINK_CALLBACK(netif);
|
|
||||||
NETIF_STATUS_CALLBACK(netif);
|
NETIF_STATUS_CALLBACK(netif);
|
||||||
|
|
||||||
#if LWIP_ARP
|
#if LWIP_ARP
|
||||||
@ -440,7 +439,6 @@ void netif_set_down(struct netif *netif)
|
|||||||
snmp_get_sysuptime(&netif->ts);
|
snmp_get_sysuptime(&netif->ts);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
NETIF_LINK_CALLBACK(netif);
|
|
||||||
NETIF_STATUS_CALLBACK(netif);
|
NETIF_STATUS_CALLBACK(netif);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user