diff options
author | alex <alex@FreeBSD.org> | 1997-05-06 02:12:18 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 1997-05-06 02:12:18 +0000 |
commit | 687eda92e9dd137463f7d2dcc3d549a34ddb2f29 (patch) | |
tree | 6647216f0a88ea271c3a8075962ba399c0ace5c3 /sys/netinet/ip_fw.c | |
parent | af706d2990bc849297db6b64b18a11690dbe9ee4 (diff) | |
download | FreeBSD-src-687eda92e9dd137463f7d2dcc3d549a34ddb2f29.zip FreeBSD-src-687eda92e9dd137463f7d2dcc3d549a34ddb2f29.tar.gz |
Create the default rule with flags IP_FW_F_IN | IP_FW_F_OUT.
Closes PR#3100.
Diffstat (limited to 'sys/netinet/ip_fw.c')
-rw-r--r-- | sys/netinet/ip_fw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c index 556710e..71fa62c 100644 --- a/sys/netinet/ip_fw.c +++ b/sys/netinet/ip_fw.c @@ -12,7 +12,7 @@ * * This software is provided ``AS IS'' without any warranties of any kind. * - * $Id: ip_fw.c,v 1.55 1997/02/22 09:41:32 peter Exp $ + * $Id: ip_fw.c,v 1.56 1997/04/06 11:09:03 dufault Exp $ */ /* @@ -760,6 +760,7 @@ ip_fw_init(void) bzero(&deny, sizeof deny); deny.fw_prot = IPPROTO_IP; deny.fw_number = (u_short)-1; + deny.fw_flg = IP_FW_F_IN | IP_FW_F_OUT; add_entry(&ip_fw_chain, &deny); printf("IP packet filtering initialized, " |