[netfilter-cvslog] r7504 - branches/ulog/ulogd2/util
kaber at trash.net
kaber at trash.net
Mon Apr 21 14:39:20 CEST 2008
Author: kaber at trash.net
Date: 2008-04-21 14:39:20 +0200 (Mon, 21 Apr 2008)
New Revision: 7504
Modified:
branches/ulog/ulogd2/util/printpkt.c
Log:
Fix "PROTO=KEY_TCP"/"PROTO=KEY_UDP"
I have no idea what the intention behind this change was, but it
seems bogus, the output format should (mostly) match ipt_LOG.
Modified: branches/ulog/ulogd2/util/printpkt.c
===================================================================
--- branches/ulog/ulogd2/util/printpkt.c 2008-04-21 12:35:42 UTC (rev 7503)
+++ branches/ulog/ulogd2/util/printpkt.c 2008-04-21 12:39:20 UTC (rev 7504)
@@ -108,7 +108,7 @@
switch (protocol) {
case IPPROTO_TCP:
- buf_cur += sprintf(buf_cur, "PROTO=KEY_TCP ");
+ buf_cur += sprintf(buf_cur, "PROTO=TCP ");
if (!pp_is_valid(res, KEY_TCP_SPORT)) {
buf_cur += sprintf(buf_cur, "INCOMPLETE");
@@ -152,7 +152,7 @@
break;
case IPPROTO_UDP:
- buf_cur += sprintf(buf_cur, "PROTO=KEY_UDP ");
+ buf_cur += sprintf(buf_cur, "PROTO=UDP ");
if (!pp_is_valid(res, KEY_UDP_SPORT)) {
buf_cur += sprintf(buf_cur, "INCOMPLETE");
More information about the netfilter-cvslog
mailing list