summaryrefslogtreecommitdiffstats
path: root/communication.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-06-23 17:09:54 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-06-23 17:09:54 +0000
commit1ab4156d99570c5e6a5ef2450e8f0ec2f850e1ac (patch)
treebb0d7a347e731ba2366bcdfd4b281d16ecfb0c8c /communication.c
parentc7c4816d4eee91cc67d9381a182c4255757b76f6 (diff)
user defined chains are working pretty good now
Diffstat (limited to 'communication.c')
-rw-r--r--communication.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/communication.c b/communication.c
index c59ca22..8599d48 100644
--- a/communication.c
+++ b/communication.c
@@ -190,7 +190,7 @@ static struct ebt_replace * translate_user2kernel(struct ebt_u_replace *u_repl)
(struct ebt_standard_target *)p;
// translate the jump to a udc
if (st->verdict >= 0)
- st->verdict = chain_offsets[st->verdict];
+ st->verdict = chain_offsets[st->verdict + NF_BR_NUMHOOKS];
}
p += e->t->target_size +
sizeof(struct ebt_entry_target);