From 83eca5d8b7a316cad264e46b53aca591d6f8ea40 Mon Sep 17 00:00:00 2001 From: Cezary Jackiewicz Date: Wed, 21 Dec 2016 18:02:53 +0100 Subject: [PATCH] comgt-ncm: fix typo Fix typo in ncm.sh. Resolves: Wed Dec 21 09:55:54 2016 daemon.notice netifd: wan (4455): ./ncm.sh: eval: line 1: =IP: not found Signed-off-by: Cezary Jackiewicz --- package/network/utils/comgt/files/ncm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/utils/comgt/files/ncm.sh b/package/network/utils/comgt/files/ncm.sh index cf3cef6154..73d1e05e3f 100644 --- a/package/network/utils/comgt/files/ncm.sh +++ b/package/network/utils/comgt/files/ncm.sh @@ -35,7 +35,7 @@ proto_ncm_setup() { [ -n "$profile" ] || profile=1 pdptype=`echo "$pdptype" | awk '{print toupper($0)}'` - [ "$pdptype" = "IP" -o "$pdptype" = "IPV6" -o "$pdptype" = "IPV4V6" ] || $pdptype="IP" + [ "$pdptype" = "IP" -o "$pdptype" = "IPV6" -o "$pdptype" = "IPV4V6" ] || pdptype="IP" [ -n "$ctl_device" ] && device=$ctl_device -- 2.30.2