summaryrefslogtreecommitdiffstats
path: root/ulogd
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2006-01-25 11:21:28 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2006-01-25 11:21:28 +0000
commita87b8953f2af603a7815e9f55edfb9d5fc7fb36d (patch)
treebe885dc23b7ebcac6b2c3bc59ff93e29b0a81813 /ulogd
parent99a669f0e670ea86cd7bf835cfb13ef1d445d92e (diff)
fix printing of "PROTO=XX" where XX != (TCP,UDP,ICMP,ESP)
Diffstat (limited to 'ulogd')
-rw-r--r--ulogd/extensions/printpkt.c4
1 files changed, 2 insertions, 2 deletions
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");