From b3a07b12ff283d1d1cdd0f976604d5137a00e8f0 Mon Sep 17 00:00:00 2001 From: sullrich Date: Sun, 29 Nov 2009 16:54:18 -0500 Subject: Notate what code does and remove XXX --- usr/local/www/interfaces_assign.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr/local') 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']); } -- cgit v1.1