Don't claim "(+ipv6)" if we didn't build with INET6.

This commit is contained in:
Max Laier 2006-05-11 15:22:38 +00:00
parent 053105371f
commit 432288dcb6

View File

@ -4153,7 +4153,11 @@ ipfw_init(void)
}
ip_fw_default_rule = layer3_chain.rules;
printf("ipfw2 (+ipv6) initialized, divert %s, "
printf("ipfw2 "
#ifdef INET6
"(+ipv6) "
#endif
"initialized, divert %s, "
"rule-based forwarding "
#ifdef IPFIREWALL_FORWARD
"enabled, "