From 1ab4156d99570c5e6a5ef2450e8f0ec2f850e1ac Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sun, 23 Jun 2002 17:09:54 +0000 Subject: user defined chains are working pretty good now --- communication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'communication.c') 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); -- cgit v1.2.3