From a87b8953f2af603a7815e9f55edfb9d5fc7fb36d Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org" Date: Wed, 25 Jan 2006 11:21:28 +0000 Subject: fix printing of "PROTO=XX" where XX != (TCP,UDP,ICMP,ESP) --- ulogd/extensions/printpkt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ulogd') diff --git a/ulogd/extensions/printpkt.c b/ulogd/extensions/printpkt.c index a8cbf03..0b6d111 100644 --- a/ulogd/extensions/printpkt.c +++ b/ulogd/extensions/printpkt.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: printpkt.c,v 1.1 2003/10/10 15:56:37 laforge Exp $ + * $Id$ * */ @@ -234,7 +234,7 @@ int printpkt_print(ulog_iret_t *res, char *buf, int prefix) break; default: - buf_cur += sprintf(buf_cur, "PROTO=%u ", GET_VALUE(11).ui8); + buf_cur += sprintf(buf_cur, "PROTO=%u ", GET_VALUE(12).ui8); } strcat(buf_cur, "\n"); -- cgit v1.2.3