netfilter: bridge: clarify bridge/netfilter message
[cascardo/linux.git] / net / bridge / br.c
index 3addc05..889e564 100644 (file)
@@ -227,9 +227,11 @@ static int __init br_init(void)
        br_fdb_test_addr_hook = br_fdb_test_addr;
 #endif
 
-       pr_info("bridge: automatic filtering via arp/ip/ip6tables has been "
-               "deprecated. Update your scripts to load br_netfilter if you "
+#if IS_MODULE(CONFIG_BRIDGE_NETFILTER)
+       pr_info("bridge: filtering via arp/ip/ip6tables is no longer available "
+               "by default. Update your scripts to load br_netfilter if you "
                "need this.\n");
+#endif
 
        return 0;