aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorCezary Jackiewicz <cezary@eko.one.pl>2016-12-21 18:02:53 +0100
committerJohn Crispin <john@phrozen.org>2016-12-22 15:02:35 +0100
commit83eca5d8b7a316cad264e46b53aca591d6f8ea40 (patch)
treed86625d5ad1179600dc2f9f86b701cd7258e2ab9 /package
parent3561d89ad696db7edf14a9e53c3f4c08a506cd2a (diff)
downloadupstream-83eca5d8b7a316cad264e46b53aca591d6f8ea40.tar.gz
upstream-83eca5d8b7a316cad264e46b53aca591d6f8ea40.tar.bz2
upstream-83eca5d8b7a316cad264e46b53aca591d6f8ea40.zip
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 <cezary@eko.one.pl>
Diffstat (limited to 'package')
-rw-r--r--package/network/utils/comgt/files/ncm.sh2
1 files changed, 1 insertions, 1 deletions
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