summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libebtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libebtc.c b/libebtc.c
index 4e429b6..01bb6f3 100644
--- a/libebtc.c
+++ b/libebtc.c
@@ -1033,7 +1033,7 @@ void ebt_check_for_loops(struct ebt_u_replace *replace)
stack[sp].e = e;
sp++;
j = -1;
- e = entries2->entries;
+ e = entries2->entries->next;
chain_nr = verdict + NF_BR_NUMHOOKS;
entries = entries2;
continue;