Merge tag 'imx-fixes-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
[firefly-linux-kernel-4.4.55.git] / net / netfilter / nf_nat_proto_udp.c
index 7df613fb34a23d29af3b5d1775182ae38e86ded3..b0ede2f0d8bcbd0c7ee156cec4c73a432b9438cd 100644 (file)
@@ -70,7 +70,7 @@ const struct nf_nat_l4proto nf_nat_l4proto_udp = {
        .manip_pkt              = udp_manip_pkt,
        .in_range               = nf_nat_l4proto_in_range,
        .unique_tuple           = udp_unique_tuple,
-#if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE)
+#if IS_ENABLED(CONFIG_NF_CT_NETLINK)
        .nlattr_to_range        = nf_nat_l4proto_nlattr_to_range,
 #endif
 };