summaryrefslogtreecommitdiffstats
path: root/libebtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libebtc.c')
-rw-r--r--libebtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libebtc.c b/libebtc.c
index a4232fd..dfc277b 100644
--- a/libebtc.c
+++ b/libebtc.c
@@ -1067,7 +1067,7 @@ void ebt_delete_chain(struct ebt_u_replace *replace)
decrease_chain_jumps(replace);
ebt_flush_chains(replace);
remove_udc(replace);
- } while (chain_nr != -1);
+ } while (chain_nr == -1);
replace->selected_chain = chain_nr;
}