summaryrefslogtreecommitdiffstats
path: root/libebtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libebtc.c')
-rw-r--r--libebtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libebtc.c b/libebtc.c
index c528352..2feefe9 100644
--- a/libebtc.c
+++ b/libebtc.c
@@ -627,6 +627,7 @@ void ebt_add_rule(struct ebt_u_replace *replace, struct ebt_u_entry *new_entry,
new_cc->prev = cc->prev;
cc->prev->next = new_cc;
cc->prev = new_cc;
+ new_entry->cc = new_cc;
/* Put the ebt_{match, watcher, target} pointers in place */
m_l = new_entry->m_list;