Ganesh Kumar(deleted)
|
if_link_state_change(ifp, LINK_STATE_DOWN) does not remove the IP address on interface
|
Ganesh Kumar(deleted)
09/15/2011 2:42 AM
post88838
|
if_link_state_change(ifp, LINK_STATE_DOWN) does not remove the IP address on interface
Hi All,
I'm writing an ethernet driver and I need to sense and act as per the link status change conditions, So whenevr I
sense the link is going down I intimate the stack by calling the API if_link_state_change(ifp, LINK_STATE_DOWN);
Here I expect the interface IP address has to be removed and the interface enters a down state, but this is not
happening , the interface still holds the previously configured IP address (the IP address which it got by running dhcp.
client on that interface when the link status was up).
Am I missing something here, should I need to call some other API to take the interface down with the IP address removed
from it.
Thanks,
GK
|
|
|