If a logical interface setup and adds in the protocol handler a dynamic
interface then the gateway is configured in the dynamic interface and the
setting up logical interface does not have a gateway specified.
To fix this check first if a dynamic interface is present and use this
gateway ip if found and if no dynamich interface is set then check for a
gateway in the logical interface.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Explicitely require libuci-lua in model classes that use legacy /var/state
cursor handling.
Also add a specific dependency on libuci-lua to the luci-app-mwan3
Makefile in preparation of the upcoming default removal of libuci-lua.
Finally fix the post data dispatching on the notification tab, see #1722
for reference.
Fixes#1726.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
With this change it is not longer possible to edit the following
configuration files directly.
- mwan3
- wireless
- network
The user should edit the configuration over the provided luci pages.
which will do input checks and so prevent from miss configuration.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Maintainer: @arfett
Compile tested: ramips, xiaomi mini, r50082
Run tested: ramips, xiaomi mini, r50082
Add uci parameter to silence errors printed to syslog and append extra redirect of sed error messages to /dev/null.
Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>