From 2cd5a88d826e9f316edfa51d2a8c44e097287e5b Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 5 Oct 2010 15:13:10 -0400 Subject: Fix this snort gateway call, it needs to use "wan" (lowercase) not the physical interface. --- config/snort/snort.inc | 3 +-- 1 file changed, 1 insertion(+), 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} "; } -- cgit v1.2.3