|
@@ -293,6 +293,11 @@ void nf_ct_expect_init(struct nf_conntrack_expect *exp, unsigned int class,
|
|
|
sizeof(exp->tuple.dst.u3) - len);
|
|
|
|
|
|
exp->tuple.dst.u.all = *dst;
|
|
|
+
|
|
|
+#ifdef CONFIG_NF_NAT_NEEDED
|
|
|
+ memset(&exp->saved_addr, 0, sizeof(exp->saved_addr));
|
|
|
+ memset(&exp->saved_proto, 0, sizeof(exp->saved_proto));
|
|
|
+#endif
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(nf_ct_expect_init);
|
|
|
|