r4311 bugfix: produceDownlinkPort was not working properly
authorAlexey Andriyanov <alan@al-an.info>
Thu, 10 Mar 2011 10:57:02 +0000 (10:57 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Thu, 10 Mar 2011 10:57:02 +0000 (10:57 +0000)
wwwroot/inc/functions.php

index 3ab86d536fe878e44c1bb66a8949562152aadd47..d7d6405c9854125c1258465ae7aafda70185568b 100644 (file)
@@ -3961,7 +3961,7 @@ function produceDownlinkPort ($domain_vlanlist, $portname, $order, $uplink_order
                if (matchVLANFilter ($vlan_id, $new_order[$portname]['wrt_vlans']))
                $new_order[$portname]['allowed'][] = $vlan_id;  
        }
-       return filter8021QChangeRequests ($domain_vlanlist, $remote_before, $new_order);
+       return filter8021QChangeRequests ($domain_vlanlist, $order, $new_order);
 }
 
 // does upd8021QPort on any port from $order array which is not equal to the corresponding $before port.