netifd: Send DHCP release when client exits
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 May 2016 22:36:10 +0000 (22:36 +0000)
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 May 2016 22:36:10 +0000 (22:36 +0000)
commited83252c313d5d9b300393da14b79b972e93af9e
treef3a63849bc0b353d92448d95ce48cc1e53393cf6
parent8822c0d0755535c5e24c47537acf2ffac877c5e7
netifd: Send DHCP release when client exits

Let DHCP client send a release when it exists so the DHCP server is
informed the IP address is released and allowing to clean up IP/mac
state info in intermediate devices.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49321 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh