summaryrefslogtreecommitdiff
path: root/communication.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2006-03-13 19:31:13 +0000
committerBart De Schuymer <bdschuym@pandora.be>2006-03-13 19:31:13 +0000
commit201e1b7ef529bcdd197de572953549d20dd18437 (patch)
tree90df587d90d3d4beff265dbaa40410f50a53dc70 /communication.c
parent7d9e3eb933ca0f1d4f2ff933f8f3b76cb894657a (diff)
downloadebtables-201e1b7ef529bcdd197de572953549d20dd18437.tar.gz
fix chain jump
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 bd7aa65..b4a1739 100644
--- a/communication.c
+++ b/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;
}
}