aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/ipv4/nf_reject.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/netfilter/ipv4/nf_reject.h')
-rw-r--r--include/net/netfilter/ipv4/nf_reject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/ipv4/nf_reject.h b/include/net/netfilter/ipv4/nf_reject.h
index 931fbf812171..f713b5a31d62 100644
--- a/include/net/netfilter/ipv4/nf_reject.h
+++ b/include/net/netfilter/ipv4/nf_reject.h
@@ -98,7 +98,7 @@ static void nf_send_reset(struct sk_buff *oldskb, int hook)
nf_ct_attach(nskb, oldskb);
-#ifdef CONFIG_BRIDGE_NETFILTER
+#if IS_ENABLED(CONFIG_BRIDGE_NETFILTER)
/* If we use ip_local_out for bridged traffic, the MAC source on
* the RST will be ours, instead of the destination's. This confuses
* some routers/firewalls, and they drop the packet. So we need to