diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-09 21:53:57 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-09 21:53:57 +0000 |
commit | e825920f1e43cd5c36f93fe6893f9a2b515ca062 (patch) | |
tree | 6edc81ebc56768461cd549a0b5451cbcc25b54ce | |
parent | acb31d2949513d15225e64f3649954a0b67b407a (diff) | |
download | pfsense-e825920f1e43cd5c36f93fe6893f9a2b515ca062.zip pfsense-e825920f1e43cd5c36f93fe6893f9a2b515ca062.tar.gz |
MFC 11098
Helper -> Allow for LAN Address in rules MFC: with billm changes for next snapshot.
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 2 | ||||
-rwxr-xr-x | usr/local/www/guiconfig.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 9bac99c..e0de093 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -33,7 +33,7 @@ require("guiconfig.inc"); -$specialsrcdst = explode(" ", "any wanip lan pptp pppoe"); +$specialsrcdst = explode(" ", "any wanip lanip lan pptp pppoe"); if (!is_array($config['filter']['rule'])) { $config['filter']['rule'] = array(); diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index 20447ec..b5d8d8c 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -111,7 +111,7 @@ $wkports = array(3389 => "MS RDP", 443 => "HTTPS", 993 => "IMAP/S"); -$specialnets = array("wanip" => "WAN address","lan" => "LAN net", "pptp" => "PPTP clients"); +$specialnets = array("wanip" => "WAN address", "lanip" => "LAN address", "lan" => "LAN net", "pptp" => "PPTP clients"); for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) { $specialnets['opt' . $i] = $config['interfaces']['opt' . $i]['descr'] . " net"; |