aboutsummaryrefslogtreecommitdiffstats
path: root/package/admswconfig/files/admswswitch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/admswconfig/files/admswswitch.sh')
-rw-r--r--package/admswconfig/files/admswswitch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/admswconfig/files/admswswitch.sh b/package/admswconfig/files/admswswitch.sh
index c5898d5a39..32a60a82bf 100644
--- a/package/admswconfig/files/admswswitch.sh
+++ b/package/admswconfig/files/admswswitch.sh
@@ -3,6 +3,7 @@
setup_switch_vlan() {
config_get ports "$CONFIG_SECTION" "eth$1"
+ ports=`echo "$ports"| sed s/" "/""/g`
admswconfig eth$1 ${ports}c
}