mirror of
https://github.com/openwrt/packages.git
synced 2025-08-05 14:51:47 +00:00
`ubus.call(sprintf('network.interface.%s', ifname), 'status', {})`
returns null if the interface `ifname` doesn't exists (yet).
For pppoe interfaces using `option ipv6 auto`, a virtual interface suffixed `_6`
is automatically created once the connection is established,
but until then it doesn't exists.
Fixes: 6423781254
("mwan3: reimplement rpcd plugin using ucode")
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>