openwrt-owl/package/base-files/files
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>
2017-03-11 13:45:00 +01:00
..
bin base-files: uppercase default hostname: LEDE 2017-01-26 18:10:10 +01:00
etc base-files: add submission service port 2017-03-11 05:53:33 +01:00
lib base-files: always set proto passed to _ucidef_set_interface() 2017-03-11 13:45:00 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: Added a deprecation notice on wifi detect 2017-02-13 10:24:32 +01:00
usr base-files: add ARCH_PACKAGES to openwrt_release and os-release 2017-01-16 13:29:47 +01:00