comgt-ncm: fix typo Fix typo in ncm.sh. Resolves:
[lede-git/.git] / package / network / utils / comgt / files / ncm.sh
index cf3cef615455035f7c7f6d8fc9e3e9d480e1dce6..73d1e05e3fcb37344c979df8212da161e09768e4 100644 (file)
@@ -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