diff options
author | jim-p <jimp@pfsense.org> | 2010-10-05 15:13:10 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-10-05 15:13:10 -0400 |
commit | 2cd5a88d826e9f316edfa51d2a8c44e097287e5b (patch) | |
tree | 14821f713541946c2b44272b9d6b7d225526ccb6 /config/snort/snort.inc | |
parent | 909cd8f9e660122fcaf15b737a5215ef77c2a30e (diff) | |
download | pfsense-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.
Diffstat (limited to 'config/snort/snort.inc')
-rw-r--r-- | config/snort/snort.inc | 3 |
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} "; } |