pf not loading the rules at boot
Dmitry Morozovsky
marck at rinet.ru
Mon May 8 10:39:54 UTC 2006
On Mon, 8 May 2006, Dmitry Morozovsky wrote:
DM> On Mon, 8 May 2006, Dmitry Morozovsky wrote:
DM>
DM> DM> BTW, ipfw says
DM> DM>
DM> DM> ipfw2 (+ipv6)
DM> DM>
DM> DM> even when it is build without inet6, which is a bit misleading.
DM>
DM> The following simple patch fixes this.
Oh no, INET6 should be used instead of NO_INET6. Reattached.
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------
-------------- next part --------------
Index: sys/netinet/ip_fw2.c
===================================================================
RCS file: /home/ncvs/src/sys/netinet/ip_fw2.c,v
retrieving revision 1.106.2.12
diff -u -r1.106.2.12 ip_fw2.c
--- sys/netinet/ip_fw2.c 9 Mar 2006 13:42:44 -0000 1.106.2.12
+++ sys/netinet/ip_fw2.c 8 May 2006 10:37:59 -0000
@@ -4221,7 +4221,12 @@
}
ip_fw_default_rule = layer3_chain.rules;
- printf("ipfw2 (+ipv6) initialized, divert %s, "
+ printf(
+#ifdef INET6
+ "ipfw2 (+ipv6) initialized, divert %s, "
+#else
+ "ipfw2 initialized, divert %s, "
+#endif
"rule-based forwarding "
#ifdef IPFIREWALL_FORWARD
"enabled, "
More information about the freebsd-stable
mailing list