summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2007-12-26 03:27:04 +0000
committerChris Buechler <cmb@pfsense.org>2007-12-26 03:27:04 +0000
commit124ea6b8a75fe9791c4e005f2fe715289f40626e (patch)
tree15c091171eaab7a2313a458a0efafce429bcd9ef
parent41a140f836362b17ed93706cd222b57c137d3143 (diff)
downloadpfsense-124ea6b8a75fe9791c4e005f2fe715289f40626e.zip
pfsense-124ea6b8a75fe9791c4e005f2fe715289f40626e.tar.gz
remove forced reboot, expand comment
Ticket #1555
-rwxr-xr-xusr/local/www/interfaces_vlan_edit.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/usr/local/www/interfaces_vlan_edit.php b/usr/local/www/interfaces_vlan_edit.php
index f4bf742..3e94d75 100755
--- a/usr/local/www/interfaces_vlan_edit.php
+++ b/usr/local/www/interfaces_vlan_edit.php
@@ -85,10 +85,19 @@ if ($_POST) {
$a_vlans[] = $vlan;
write_config();
-
- touch($d_sysrebootreqd_path);
- /* these appear to not work */
+ /* TODO sometime post-1.2 release
+ this does not always work, some systems require
+ a reboot before VLANs function properly
+
+ This portion of code is also very slow, this is why
+ it takes a long time to add a new VLAN.
+ Benchmark_Timer on a 800 MHz VIA:
+ interfaces_lan_configure() takes about 6 seconds
+ interfaces_wan_configure() takes about 9.5 seconds
+ interfaces_optional_configure() takes about 5 seconds
+ */
+
interfaces_vlan_configure();
interfaces_lan_configure();
interfaces_wan_configure();
OpenPOWER on IntegriCloud