ramips: ramips_esw: add helper function to set VLAN id
[openwrt.git] / package / admswconfig / files / admswswitch.sh
index c5898d5..32a60a8 100644 (file)
@@ -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
 }
 
This page took 0.020939 seconds and 4 git commands to generate.