diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2006-03-13 19:31:13 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2006-03-13 19:31:13 +0000 |
commit | 3509b9c0ea67a83a73d92e0230f363baea73aac3 (patch) | |
tree | 03ed3515aece3a95689a9a5cec8baeaa1e5353c9 /userspace/ebtables2/communication.c | |
parent | 97b8ebf67696c3e00d11fd220692efe88adafc92 (diff) |
fix chain jump
Diffstat (limited to 'userspace/ebtables2/communication.c')
-rw-r--r-- | userspace/ebtables2/communication.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |