summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-11-29 11:34:45 -0500
committerjim-p <jimp@pfsense.org>2011-11-29 11:34:45 -0500
commit3f8310351420686a6d96d1d8f9fd310ad9f4ae9d (patch)
tree39aab4966e6b12ff9fa5f7a4c9360c9266a7c221
parent51c24cf6868afed072f9ae488c6a144aaeda9219 (diff)
downloadpfsense-3f8310351420686a6d96d1d8f9fd310ad9f4ae9d.zip
pfsense-3f8310351420686a6d96d1d8f9fd310ad9f4ae9d.tar.gz
If an IP is preceeded by "kip ", trim that off. Fixes #2027
-rw-r--r--etc/inc/filter_log.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/filter_log.inc b/etc/inc/filter_log.inc
index 9b85a34..13b68cf 100644
--- a/etc/inc/filter_log.inc
+++ b/etc/inc/filter_log.inc
@@ -169,6 +169,8 @@ function parse_filter_line($line) {
function parse_ipport($addr) {
$addr = rtrim($addr, ":");
+ if (substr($addr, 0, 4) == "kip ")
+ $addr = substr($addr, 4);
$port = '';
if (substr_count($addr, '.') > 1) {
/* IPv4 */
OpenPOWER on IntegriCloud