aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-02-15 08:39:05 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2017-06-03 20:41:26 +0200
commit524ed5088e900821307694180d77038df5a3ea9a (patch)
treefcc92cc0c560bc847004915685b4c810dc5ea29d /target
parentbf6216e5e3938cd306b0295161140ec281a094b9 (diff)
downloadupstream-524ed5088e900821307694180d77038df5a3ea9a.tar.gz
upstream-524ed5088e900821307694180d77038df5a3ea9a.tar.bz2
upstream-524ed5088e900821307694180d77038df5a3ea9a.zip
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>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions