netifd: Send DHCP release when client exits
[openwrt.git] / package / network / config / netifd / files / lib / netifd / proto / dhcp.sh
index 0e88af9..546e1d6 100755 (executable)
@@ -52,7 +52,7 @@ proto_dhcp_setup() {
        proto_run_command "$config" udhcpc \
                -p /var/run/udhcpc-$iface.pid \
                -s /lib/netifd/dhcp.script \
-               -f -t 0 -i "$iface" \
+               -f -R -t 0 -i "$iface" \
                ${ipaddr:+-r $ipaddr} \
                ${hostname:+-H $hostname} \
                ${vendorid:+-V $vendorid} \