You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mathias Kresin 0f01253b25 base-files: always set proto passed to _ucidef_set_interface()
Overwrite an already set proto if a new one is passed to
_ucidef_set_interface() similar to what is done for the interface.

It is required when using ""ucidef_set_interface_wan 'ptm0' 'pppoe'"
after some initial wan interface configuration is already done by
ucidef_add_switch.

The "json_is_a protocol string" guard is meant to not reset an earlier
set interface proto in case something like
"ucidef_set_interface_lan 'eth0'" is used afterwards.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
..
leds.sh kernel: remove unused morse led trigger driver 8 years ago
network.sh base-files: add network_get_ipaddrs_all() 10 years ago
preinit.sh base-files: fix ramoverlay function with kernels 3.18+ 9 years ago
service.sh base-files: remove function service_kill 10 years ago
system.sh base-files: cleanup mtd_get_mac_binary hexdump 9 years ago
uci-defaults.sh base-files: always set proto passed to _ucidef_set_interface() 7 years ago