summaryrefslogtreecommitdiffstats
path: root/etc/inc/filter_log.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-01-26 14:27:08 +0100
committerSeth Mos <seth.mos@dds.nl>2011-01-26 14:27:08 +0100
commit2259901018552f8a8432e295b8d6064fa918cda0 (patch)
treeddb5debce0af29e7720cbc4c81727d3ae9035111 /etc/inc/filter_log.inc
parent1f321f668f823128894465f9f764a369b4abc22b (diff)
downloadpfsense-2259901018552f8a8432e295b8d6064fa918cda0.zip
pfsense-2259901018552f8a8432e295b8d6064fa918cda0.tar.gz
Show the TCP protocol for ipv6 filter rules
Diffstat (limited to 'etc/inc/filter_log.inc')
-rw-r--r--etc/inc/filter_log.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/filter_log.inc b/etc/inc/filter_log.inc
index ed4b311..1c0e9ef 100644
--- a/etc/inc/filter_log.inc
+++ b/etc/inc/filter_log.inc
@@ -135,6 +135,8 @@ function parse_filter_line($line) {
* boolean FALSE because it could return a valid answer of 0 upon success. */
if (!(strpos($details, 'proto ') === FALSE)) {
preg_match("/.*\sproto\s(.*)\s\(/", $details, $proto);
+ } elseif (!(strpos($details, 'next-header ') === FALSE)) {
+ preg_match("/.*\snext-header\s(.*)\s\(/", $details, $proto);
} elseif (!(strpos($details, 'proto: ') === FALSE)) {
preg_match("/.*\sproto\:(.*)\s\(/", $details, $proto);
} elseif (!(strpos($leftovers, 'sum ok] ') === FALSE)) {
@@ -279,4 +281,4 @@ function handle_ajax($nentries, $tail = 50) {
}
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud