netifd: Send DHCP release when client exits
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 31 Mar 2016 10:18:29 +0000 (12:18 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 31 Mar 2016 10:18:29 +0000 (12:18 +0200)
commit81a5f1ac9ea70280b56e0a16a57cd5bc4b117057
treed3ed4eb19646391f6d99eb0a09d94300635406cc
parent3df4eaf22b756a8460e514e0e49a876d5e5c40e3
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>
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh