aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-05 15:13:10 -0400
committerjim-p <jimp@pfsense.org>2010-10-05 15:13:10 -0400
commit2cd5a88d826e9f316edfa51d2a8c44e097287e5b (patch)
tree14821f713541946c2b44272b9d6b7d225526ccb6
parent909cd8f9e660122fcaf15b737a5215ef77c2a30e (diff)
downloadpfsense-packages-2cd5a88d826e9f316edfa51d2a8c44e097287e5b.tar.gz
pfsense-packages-2cd5a88d826e9f316edfa51d2a8c44e097287e5b.tar.bz2
pfsense-packages-2cd5a88d826e9f316edfa51d2a8c44e097287e5b.zip
Fix this snort gateway call, it needs to use "wan" (lowercase) not the physical interface.
-rw-r--r--config/snort/snort.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 82ee8f1f..271f10a8 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -131,8 +131,7 @@ function build_base_whitelist($build_netlist, $wanip, $wangw, $wandns, $vips, $v
if($wangw == 'yes') {
/* Add Gateway on WAN interface to whitelist (For RRD graphs) */
- $int = convert_friendly_interface_to_real_interface_name2("WAN");
- $gw = get_interface_gateway($int);
+ $gw = get_interface_gateway('wan');
if($gw)
$home_net .= "{$gw} ";
}