summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_logs_filter.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-03-15 09:12:42 +0100
committerSeth Mos <seth.mos@dds.nl>2011-03-15 09:12:42 +0100
commitd52a66f970d3620fcc515023235d356a0f2fffb9 (patch)
treec3c7ee1a00c9e1ab186cbe27fbc1af2e07ac67dc /usr/local/www/diag_logs_filter.php
parent1778480dbe583323acbacd0805bbfd9cbf3ef5b0 (diff)
downloadpfsense-d52a66f970d3620fcc515023235d356a0f2fffb9.zip
pfsense-d52a66f970d3620fcc515023235d356a0f2fffb9.tar.gz
Fix the link for the easy rule block so that it always fills in the ip protocol
Diffstat (limited to 'usr/local/www/diag_logs_filter.php')
-rwxr-xr-xusr/local/www/diag_logs_filter.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php
index ec56ce0..64de458 100755
--- a/usr/local/www/diag_logs_filter.php
+++ b/usr/local/www/diag_logs_filter.php
@@ -152,6 +152,9 @@ include("head.inc");
$proto = strtolower($filterent['proto']);
if(is_ipaddrv6($filterent['srcip']))
$ipproto = "inet6";
+ } else {
+ $ipproto = "inet";
+ }
$srcstr = $filterent['srcip'] . get_port_with_service($filterent['srcport'], $proto);
$dststr = $filterent['dstip'] . get_port_with_service($filterent['dstport'], $proto);
OpenPOWER on IntegriCloud