commit | a2fbf6ba0e2553687f56d9a9fb63e2972bdb26c6 | [log] [tgz] |
---|---|---|
author | Neale Ranns <nranns@cisco.com> | Tue Jul 18 08:23:32 2017 -0700 |
committer | Damjan Marion <dmarion.lists@gmail.com> | Tue Jul 18 19:01:00 2017 +0000 |
tree | bdb68e1865ab09e55b4a906614a33afd90394114 | |
parent | 2c0a4f407f565d8dd33ff3a9fada346860d30ad2 [diff] [blame] |
DHCP client - remove interface address when DHCP de-configured Change-Id: I63c59e3c13859b51999d283774f7783ef0a6a5ed Signed-off-by: Neale Ranns <nranns@cisco.com>
diff --git a/src/vnet/dhcp/client.c b/src/vnet/dhcp/client.c index 014f17a..8f033d2 100644 --- a/src/vnet/dhcp/client.c +++ b/src/vnet/dhcp/client.c
@@ -821,6 +821,7 @@ 1, FIB_ROUTE_PATH_FLAG_NONE); } + dhcp_client_release_address (dcm, c); ip4_sw_interface_enable_disable (c->sw_if_index, 0); vec_free (c->option_55_data);