summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-11-29 16:54:18 -0500
committersullrich <sullrich@pfsense.org>2009-11-29 16:54:18 -0500
commitb3a07b12ff283d1d1cdd0f976604d5137a00e8f0 (patch)
treefaf5278a7fe1418ce1dad7be6e657b5b5a8ed217 /usr/local
parentcc558460a35d7f2f0faf4129dde00eed3d9ca297 (diff)
downloadpfsense-b3a07b12ff283d1d1cdd0f976604d5137a00e8f0.zip
pfsense-b3a07b12ff283d1d1cdd0f976604d5137a00e8f0.tar.gz
Notate what code does and remove XXX
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/interfaces_assign.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index 4136260..ff6147e 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -265,7 +265,10 @@ if ($_GET['act'] == "del") {
write_config();
- /* XXX: What is this for?!?! */
+ /* If we are in firewall/routing mode (not single interface)
+ * then ensure that we are not running DHCP on the wan which
+ * will make a lot of ISP's unhappy.
+ */
if($config['interfaces']['lan']) {
unset($config['dhcpd']['wan']);
}
OpenPOWER on IntegriCloud