summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_qinq.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-04-03 08:50:43 +0000
committerErmal Luçi <eri@pfsense.org>2009-04-03 08:50:43 +0000
commitc1289cfd78dcabf4eac1f80c36bd216f81f754ca (patch)
tree5c6e2a2d654bd82b4fc1dcde8c633d145be54b10 /usr/local/www/interfaces_qinq.php
parente623dd70fb0af18f13a88f594c2c0a95918f6fdf (diff)
downloadpfsense-c1289cfd78dcabf4eac1f80c36bd216f81f754ca.zip
pfsense-c1289cfd78dcabf4eac1f80c36bd216f81f754ca.tar.gz
* Convert the QinQ code to use a file where the commands are passed. This speeds up most of the vlan creation.
Before you'd need 20min to create qinq with 1000 member now it adds 2000 members in just 1 minute * Fix some cleanups when deleting QinQ
Diffstat (limited to 'usr/local/www/interfaces_qinq.php')
-rwxr-xr-xusr/local/www/interfaces_qinq.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_qinq.php b/usr/local/www/interfaces_qinq.php
index 5c6fa64..72010e8 100755
--- a/usr/local/www/interfaces_qinq.php
+++ b/usr/local/www/interfaces_qinq.php
@@ -67,6 +67,7 @@ if ($_GET['act'] == "del") {
foreach ($delmembers as $tag)
mwexec("/usr/sbin/ngctl shutdown vlan{$qinq['tag']}h{$tag}:");
}
+ mwexec("/usr/sbin/ngctl shutdown vlanh{$qinq['tag']}:");
mwexec("/usr/sbin/ngctl shutdown {$qinq['if']}qinq:");
unset($a_qinqs[$id]);
OpenPOWER on IntegriCloud