udhcpc: Unconditionally call deconfig script, not only if lease is active
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 26 Aug 2016 16:46:34 +0000 (18:46 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 26 Aug 2016 16:46:34 +0000 (18:46 +0200)
commitb6355e2bb5c931413735b7df2964e20e050bbc07
tree3b05bb9db066f33c267adb4b2b607f725cb06eb6
parent0dddbc1a59795a77679d8c5ef48a2795cb470563
udhcpc: Unconditionally call deconfig script, not only if lease is active

The udhcpc script may be used to setup fallback configuration (E.G. IPv4LL,
fixed IP address, ..) that also needs to be cleaned up on release (E.G.
when SIGUSR2 is called or on shutdown with -R), so unconditionally call
deconfig.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/d6_dhcpc.c
networking/udhcp/dhcpc.c