ipt_LOG bugfix
From kadlec@blackhole.kfki.hu Mon Oct 1 08:53:07 2001
Date: Fri, 28 Sep 2001 11:53:52 +0200 (CEST)
From: Jozsef Kadlecsik
To: netfilter-devel@lists.samba.org
Subject: [PATCH] ipt_LOG inner protocol printing
Hello,
The LOG target cannot print inner protocols properly. Here is the fix of
the mistyping:
--- linux/net/ipv4/netfilter/ipt_LOG.c.orig Mon Jan 1 18:54:07 2001
+++ linux/net/ipv4/netfilter/ipt_LOG.c Fri Sep 28 11:13:11 2001
@@ -213,7 +213,7 @@
printk("[");
dump_packet(info,
(struct iphdr *)(icmph + 1),
- datalen-sizeof(struct iphdr),
+ datalen-sizeof(struct icmphdr),
0);
printk("] ");
}
Regards,
Jozsef