The first patch removes IP from iface when DHCP release is sent.
This one is needed, because otherwise we send release, but keep using the
IP address.

stop_if now doesn't use netmask, as it seems to be unneeded.

The second one clears DNS configuration at DHCP release event.

Justin Cinkelj (2):
  dhcp: remove IP from interface when DHCP release is send
  dhcp: remove DNS resolvers when DHCP release is send

 bsd/porting/networking.cc | 38 ++++++++++++++++++++++++++++++++++++++
 bsd/porting/networking.hh |  1 +
 core/dhcp.cc              | 11 ++++++-----
 3 files changed, 45 insertions(+), 5 deletions(-)

-- 
2.9.3

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to