summaryrefslogtreecommitdiffstats
path: root/usr/local/www/guiconfig.inc
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-08-01 17:43:53 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-08-01 17:53:23 -0600
commitec3f44c1ea8a765e38d331c877df4f916c202a5f (patch)
treeb64f2c110abc743ec271cab86fe8568a5640c7d4 /usr/local/www/guiconfig.inc
parent38405d27b2aa688ccaae9f52b8d8d68e4817903a (diff)
downloadpfsense-ec3f44c1ea8a765e38d331c877df4f916c202a5f.zip
pfsense-ec3f44c1ea8a765e38d331c877df4f916c202a5f.tar.gz
WAN and LAN don't need to be specially added to $specialnets, since the code after can add them anyway.
Diffstat (limited to 'usr/local/www/guiconfig.inc')
-rwxr-xr-xusr/local/www/guiconfig.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 4863967..605705e 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -206,9 +206,9 @@ $wkports = array(
/* TCP flags */
$tcpflags = array("fin", "syn", "rst", "psh", "ack", "urg");
-$specialnets = array("wanip" => "WAN address", "lanip" => "LAN address", "lan" => "LAN net", "pptp" => "PPTP clients", "pppoe" => "PPPoE clients", "l2tp" => "L2TP clients");
+$specialnets = array("pptp" => "PPTP clients", "pppoe" => "PPPoE clients", "l2tp" => "L2TP clients");
-$spiflist = get_configured_interface_with_descr(true, true);
+$spiflist = get_configured_interface_with_descr(false, true);
foreach ($spiflist as $ifgui => $ifdesc) {
$specialnets[$ifgui] = $ifdesc . " net";
$specialnets[$ifgui . 'ip'] = $ifdesc . " address";
OpenPOWER on IntegriCloud