summaryrefslogtreecommitdiffstats
path: root/libebtc.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2004-12-16 19:30:32 +0000
committerBart De Schuymer <bdschuym@pandora.be>2004-12-16 19:30:32 +0000
commitc6c0dc3a28d92e7c4f1ae00da0b76cf9e0b0344d (patch)
tree766503ba39a5a0b951a21895c23938708e3213af /libebtc.c
parent8b0c58a9140a46e1766c8281b9858d229358487f (diff)
Fix problem with udc
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;
}