From 3509b9c0ea67a83a73d92e0230f363baea73aac3 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Mon, 13 Mar 2006 19:31:13 +0000 Subject: fix chain jump --- userspace/ebtables2/communication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userspace/ebtables2/communication.c') diff --git a/userspace/ebtables2/communication.c b/userspace/ebtables2/communication.c index bd7aa65..b4a1739 100644 --- a/userspace/ebtables2/communication.c +++ b/userspace/ebtables2/communication.c @@ -514,7 +514,7 @@ ebt_translate_entry(struct ebt_entry *e, int *hook, int *n, int *cnt, break; if (i == u_repl->num_chains) ebt_print_bug("Can't find udc for jump"); - ((struct ebt_standard_target *)new->t)->verdict = i; + ((struct ebt_standard_target *)new->t)->verdict = i-NF_BR_NUMHOOKS; } } -- cgit v1.2.3