netifd: Send DHCP release when client exits
authorLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:36:10 +0000 (22:36 +0000)
committerLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:36:10 +0000 (22:36 +0000)
commit2398ba3f2c258a14290fbb4fe871c6fb19578a26
treef3a63849bc0b353d92448d95ce48cc1e53393cf6
parent3d100fb2a71158a591864b8d48866f759fa62df1
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>
SVN-Revision: 49321
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh