From ccd5dae4f1dea070f97ca23f3e43e0a46c130258 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 25 Sep 2014 19:08:56 +0000 Subject: base-files: add a protocol argument to ucidef_set_interface_raw Add a third argument to ucidef_set_interface_raw, which is specifying the protocol. Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42665 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/functions/uci-defaults.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/base-files') diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib/functions/uci-defaults.sh index f144adefb4..e90090c40b 100644 --- a/package/base-files/files/lib/functions/uci-defaults.sh +++ b/package/base-files/files/lib/functions/uci-defaults.sh @@ -158,11 +158,12 @@ EOF ucidef_set_interface_raw() { local cfg=$1 local ifname=$2 + local proto=${3:-"none"} uci batch <