openwrt/package/base-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
..
files base-files: always set proto passed to _ucidef_set_interface() 2017-03-11 13:45:00 +01:00
image-config.in build: add buildbot specific config option for setting defaults 2017-02-14 14:18:35 +01:00
Makefile base-files: add /etc/iproute2/rt_protos 2017-01-18 13:15:28 +01:00