ar71xx: on ar7240, exclude ports from their own port vlan destination mask
[openwrt.git] / package / swconfig / src / uci.c
index 1de689c..893e3d1 100644 (file)
@@ -183,7 +183,7 @@ found:
                                        port = o->v.string;
                                }
                        }
-                       if (!dev || !port || !port[0])
+                       if (!devn || !port || !port[0])
                                continue;
 
                        port_n = strtoul(port, &port_err, 0);
@@ -208,7 +208,7 @@ found:
                                        vlan = o->v.string;
                                }
                        }
-                       if (!dev || !vlan || !vlan[0])
+                       if (!devn || !vlan || !vlan[0])
                                continue;
 
                        vlan_n = strtoul(vlan, &vlan_err, 0);
This page took 0.021809 seconds and 4 git commands to generate.