diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-09-06 17:20:34 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-09-06 17:20:34 +0000 |
commit | 03c973f2b1cb983bc000d5bb9711b76399cdc119 (patch) | |
tree | d3879efd77a9eb5e7540a8962e4cf437495fe93a /security/fwlogwatch/files | |
parent | 8ce1c77d5288dd51cbe816e8b6c83302e02fbc92 (diff) | |
download | ports-03c973f2b1cb983bc000d5bb9711b76399cdc119.tar.gz ports-03c973f2b1cb983bc000d5bb9711b76399cdc119.zip |
Notes
Diffstat (limited to 'security/fwlogwatch/files')
-rw-r--r-- | security/fwlogwatch/files/patch-ipfw.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/fwlogwatch/files/patch-ipfw.l b/security/fwlogwatch/files/patch-ipfw.l index 0204834eebba..9a8a09ed79e7 100644 --- a/security/fwlogwatch/files/patch-ipfw.l +++ b/security/fwlogwatch/files/patch-ipfw.l @@ -5,7 +5,7 @@ {MONTH}[ ]{1,2}{DIGIT}{1,2}[ ]{DIGIT}{2}:{DIGIT}{2}:{DIGIT}{2}[ ]{LOGHOST} ipfw_parse_start(ipfwtext); -" kernel: ipfw: "{NUMBER} { xstrncpy(opt.line->chainlabel, ipfwtext+15, SHORTLEN); opt.parser=opt.parser|IPFW_CHAIN; }; -+" /"?"kernel: ipfw: "{NUMBER} { xstrncpy(opt.line->chainlabel, ipfwtext+15, SHORTLEN); opt.parser=opt.parser|IPFW_CHAIN; }; ++" /"?"kernel: ipfw: "{NUMBER} { xstrncpy(opt.line->chainlabel, ipfwtext+14, SHORTLEN); opt.parser=opt.parser|IPFW_CHAIN; }; "Deny" { xstrncpy(opt.line->branchname, ipfwtext, SHORTLEN); opt.parser=opt.parser|IPFW_BRANCH; }; {PROTO} ipfw_parse_proto(ipfwtext, IPFW_OPT_NONE); "ICMP:"{NUMBER}"."{NUMBER} ipfw_parse_proto(ipfwtext+5, IPFW_OPT_ICMP); |