net:bridge: use IS_ENABLED
[deliverable/linux.git] / net / bridge / netfilter / ebt_log.c
index 88d7d1d1cb1bd1df8b8a0d57eca4b8de35c6cd02..f88ee537fb2b811347c109cfa19dbdd34c2923c0 100644 (file)
@@ -107,7 +107,7 @@ ebt_log_packet(u_int8_t pf, unsigned int hooknum,
                goto out;
        }
 
-#if defined(CONFIG_BRIDGE_EBT_IP6) || defined(CONFIG_BRIDGE_EBT_IP6_MODULE)
+#if IS_ENABLED(CONFIG_BRIDGE_EBT_IP6)
        if ((bitmask & EBT_LOG_IP6) && eth_hdr(skb)->h_proto ==
           htons(ETH_P_IPV6)) {
                const struct ipv6hdr *ih;
This page took 0.029255 seconds and 5 git commands to generate.