Fix regressions from f3d26a2a560d8ae526c617eb1c28821ec900fa7a:
1) It is now possible again to leave the keepalive option empty.
2) It is possible now to set an interval different from 1 without the
need to explicitly set the failure threshold.
Signed-off-by: Erik Karlsson <erik.karlsson@iopsys.eu>
Since on openwrt keepalive option defaults to "5 1" when it's not
defined:
6720c4ccba/package/network/services/ppp/files/ppp.sh (L128)
Users must be able to set it to 0 to ignore connection failures.
Signed-off-by: Erdem Gez <perport@perport.net>
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This reverts commit 995d3a1801cf3b850e8c7c35937fbdd0526ff53e.
The `mtu` option controls the pppd mru and mtu arguments, it is not
specific to pppoe.so.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
- Turn IPv4-Address into IPv4 address
- Turn IPv4-Gateway into IPv4 gateway
- Turn IPv6-Address into IPv6 address
- Turn IPv6-Gateway into IPv6 gateway
- Turn MAC-Address into MAC address
Also remove related duplicate translation entries.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This is required to resolve clashes with the generic "option device"
referring to netdev names in current netifd versions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
The introduction of network device configuration support also implemented
all common, protocol-independent interface options directly in the
interface config view, so drop the redundant option definitions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>