summaryrefslogtreecommitdiffstats
path: root/src/libct.c
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org>2005-10-07 13:09:22 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org>2005-10-07 13:09:22 +0000
commitcce8dd1bd45465dd9b18e4f02b5d007cb39079b0 (patch)
tree633f143402a6ecabe094c79e0e31ab81e28bab3a /src/libct.c
parentf179e8af468c573d4a643fcd38980e0beeeecdbc (diff)
See Changelog
Diffstat (limited to 'src/libct.c')
-rw-r--r--src/libct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libct.c b/src/libct.c
index 16ec4db..36aacbd 100644
--- a/src/libct.c
+++ b/src/libct.c
@@ -70,7 +70,7 @@ static void parse_proto(struct nfattr *attr, struct ctnl_tuple *tuple)
memset(tb, 0, CTA_PROTO_MAX * sizeof(struct nfattr *));
- nfnl_parse_nested(tb, CTA_IP_MAX, attr);
+ nfnl_parse_nested(tb, CTA_PROTO_MAX, attr);
if (tb[CTA_PROTO_NUM-1])
tuple->protonum = *(u_int8_t *)NFA_DATA(tb[CTA_PROTO_NUM-1]);