diff options
author | Neale Ranns <nranns@cisco.com> | 2017-07-18 08:23:32 -0700 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-07-18 19:01:00 +0000 |
commit | a2fbf6ba0e2553687f56d9a9fb63e2972bdb26c6 (patch) | |
tree | bdb68e1865ab09e55b4a906614a33afd90394114 /src | |
parent | 2c0a4f407f565d8dd33ff3a9fada346860d30ad2 (diff) |
DHCP client - remove interface address when DHCP de-configured
Change-Id: I63c59e3c13859b51999d283774f7783ef0a6a5ed
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/dhcp/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/dhcp/client.c b/src/vnet/dhcp/client.c index 014f17a11b3..8f033d25198 100644 --- a/src/vnet/dhcp/client.c +++ b/src/vnet/dhcp/client.c @@ -821,6 +821,7 @@ int dhcp_client_add_del (dhcp_client_add_del_args_t * a) 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); |