mwan3: fix bugs introduced in 815e83d4 4721/head
authorMarcin Jurkowski <marcin1j@gmail.com>
Thu, 17 Aug 2017 11:20:10 +0000 (13:20 +0200)
committerMarcin Jurkowski <marcin1j@gmail.com>
Thu, 17 Aug 2017 11:20:10 +0000 (13:20 +0200)
commit284284ef2e70a3b76306287ab0c04d26dd9a30ce
tree2bcc24932f65ef2454c02b25a14194dfe3e208e6
parentaf1e127bf41880205751140af298b87d8408b5e9
mwan3: fix bugs introduced in 815e83d4

Fixes the following bugs introduced in commit 815e83d4:
 - hotplug: invalid parameter order when initial interface state is "online",
   mwan3track expects initial state to be the third argument
 - hotplug: missing source ip address when initial interface state is "offline"
 - mwan3track: source ip address should be the fourth argument

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
net/mwan3/files/etc/hotplug.d/iface/15-mwan3
net/mwan3/files/usr/sbin/mwan3track