net/mwan3: add ubus interface check 4174/head
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 21 Mar 2017 07:03:30 +0000 (08:03 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 21 Mar 2017 07:59:31 +0000 (08:59 +0100)
commit5cacfd34a60222e2adae83c2112c14f716a9ce30
tree32c3a266ec35422e2a8673b61230a06915018c1e
parent5ee8193dec2468c9d23c6d02100913459f8bd0fa
net/mwan3: add ubus interface check

On interfaces with interface proto "qmi|ncm" and option dhcp
enabled the interface will be changed to $iface_4 | $iface_6. The
interface mapping in mwan3 will not recognize this interface. To fix
this issue an ubus call will check if an upper interface exists.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/mwan3/Makefile
net/mwan3/files/etc/hotplug.d/iface/15-mwan3
net/mwan3/files/lib/mwan3/mwan3.sh