net/mwan3: fix /var/state issue in 14-mwan3 hotplug
authorFlorian Eckert <redacted>
Fri, 1 Sep 2017 08:01:34 +0000 (10:01 +0200)
committerFlorian Eckert <redacted>
Fri, 1 Sep 2017 09:02:55 +0000 (11:02 +0200)
commita8ccaa1f0fba097cdb8a603e9b91824ce0ca972d
tree2af65e3ca728922a28352faacbed60917d0dd985
parent0c678d39cc336c05693001ab912a4b2a343d2e80
net/mwan3: fix /var/state issue in 14-mwan3 hotplug

Use common function to toggle ip address in /var/state/mwan3.
Change also to use toggle function and not set function. If ip address
is often changed every change is saved to /var/state/mwan3.

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