summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/libebtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/ebtables2/libebtc.c')
-rw-r--r--userspace/ebtables2/libebtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/userspace/ebtables2/libebtc.c b/userspace/ebtables2/libebtc.c
index c528352..2feefe9 100644
--- a/userspace/ebtables2/libebtc.c
+++ b/userspace/ebtables2/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;