[source] comgt-ncm: fix typo Fix typo in ncm.sh. Resolves:
LEDE Commits
lede-commits at lists.infradead.org
Thu Dec 22 07:06:00 PST 2016
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/83eca5d8b7a316cad264e46b53aca591d6f8ea40
commit 83eca5d8b7a316cad264e46b53aca591d6f8ea40
Author: Cezary Jackiewicz <cezary at eko.one.pl>
AuthorDate: Wed Dec 21 18:02:53 2016 +0100
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 at eko.one.pl>
---
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 cf3cef6..73d1e05 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
More information about the lede-commits
mailing list