summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_logs_filter.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-04-18 11:08:32 +0200
committerSeth Mos <seth.mos@dds.nl>2011-04-18 11:08:32 +0200
commit81b44848d3e36902d10e1f9f7ad6eaf9e476cc92 (patch)
treec2854670c458bcc9f387518898024f7b0d4e0079 /usr/local/www/diag_logs_filter.php
parent13399e172b47ea2dabfb9d8a5ab4bf79ffbb8b05 (diff)
downloadpfsense-81b44848d3e36902d10e1f9f7ad6eaf9e476cc92.zip
pfsense-81b44848d3e36902d10e1f9f7ad6eaf9e476cc92.tar.gz
Surround the IPv6 address with brackets
Diffstat (limited to 'usr/local/www/diag_logs_filter.php')
-rwxr-xr-xusr/local/www/diag_logs_filter.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php
index 877d5bd..8b1222e 100755
--- a/usr/local/www/diag_logs_filter.php
+++ b/usr/local/www/diag_logs_filter.php
@@ -152,6 +152,8 @@ include("head.inc");
$proto = strtolower($filterent['proto']);
if(is_ipaddrv6($filterent['srcip'])) {
$ipproto = "inet6";
+ $filterent['srcip'] = "[{$filterent['srcip']}]";
+ $filterent['dstip'] = "[{$filterent['dstip']}]";
} else {
$ipproto = "inet";
}
OpenPOWER on IntegriCloud