net/mwan3: fix hotplug on ACTION ifdown
authorFlorian Eckert <redacted>
Fri, 17 Mar 2017 10:06:24 +0000 (11:06 +0100)
committerFlorian Eckert <redacted>
Fri, 17 Mar 2017 10:06:29 +0000 (11:06 +0100)
commit28c8b664e471df9adbba5f2b8598b4e95ae36f4b
treeeb9bdd5ab7133b53c0caa6e480e469df1879d0fd
parent0f73eff96a6480d7791b54843238f5c16de6453d
net/mwan3: fix hotplug on ACTION ifdown

On dynamic interface proto (dhcp/pppoe) the hotplug will not execude (exit 9)
because the gateway is already released. The check will now only be made
on a ifup ACTION event.

Signed-off-by: Florian Eckert <redacted>
net/mwan3/files/etc/hotplug.d/iface/15-mwan3
git clone https://git.99rst.org/PROJECT