diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-06-23 17:09:54 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-06-23 17:09:54 +0000 |
commit | c5f6ad59e354af5d733471fc7696e5ce5526f713 (patch) | |
tree | ed91edbb2126440658e8a3becd18bf59220b6500 /userspace/ebtables2/communication.c | |
parent | 37dcb7f1252c3bfd3d72d324f10392c14e5c7f8c (diff) |
user defined chains are working pretty good now
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 c59ca22..8599d48 100644 --- a/userspace/ebtables2/communication.c +++ b/userspace/ebtables2/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); |