summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c
index 74c5c4b..f411121 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -193,7 +193,7 @@ struct cache_object *cache_object_new(struct cache *c, struct nf_conntrack *ct)
c->stats.add_fail_enomem++;
return NULL;
}
- memcpy(obj->ct, ct, nfct_sizeof(ct));
+ nfct_copy(obj->ct, ct, NFCT_CP_OVERRIDE);
obj->status = C_OBJ_NONE;
c->stats.objects++;