]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/net/netfilter/nf_conntrack_expect.h
netfilter: replace NF_NAT_NEEDED with IS_ENABLED(CONFIG_NF_NAT)
[linux.git] / include / net / netfilter / nf_conntrack_expect.h
index 006e430d1cdfb7f211e1f655337af7f01367f3e8..93ce6b0daaba9accf8dd270653b51f4a3d815c02 100644 (file)
@@ -48,7 +48,7 @@ struct nf_conntrack_expect {
        /* Expectation class */
        unsigned int class;
 
-#ifdef CONFIG_NF_NAT_NEEDED
+#if IS_ENABLED(CONFIG_NF_NAT)
        union nf_inet_addr saved_addr;
        /* This is the original per-proto part, used to map the
         * expected connection the way the recipient expects. */