summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-04-20 13:32:06 +0000
committerpeter <peter@FreeBSD.org>1999-04-20 13:32:06 +0000
commitf9bc841320c631b24281c6561466509a4771b0f0 (patch)
treecf383e55c2da8227f5f29a904f4e3686a7cf73c5 /sys/netinet/ip_fw.c
parent5bfc6b1d275f04b0232db26413bbd022a3b535bd (diff)
downloadFreeBSD-src-f9bc841320c631b24281c6561466509a4771b0f0.zip
FreeBSD-src-f9bc841320c631b24281c6561466509a4771b0f0.tar.gz
Tidy up some stray / unused stuff in the IPFW package and friends.
- unifdef -DCOMPAT_IPFW (this was on by default already) - remove traces of in-kernel ip_nat package, it was never committed. - Make IPFW and DUMMYNET initialize themselves rather than depend on compiled-in hooks in ip_init(). This means they initialize the same way both in-kernel and as kld modules. (IPFW initializes now :-)
Diffstat (limited to 'sys/netinet/ip_fw.c')
-rw-r--r--sys/netinet/ip_fw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index 7bfbf9e..f1cc499 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.105 1999/03/30 23:45:34 nsayer Exp $
+ * $Id: ip_fw.c,v 1.106 1999/04/17 08:56:38 peter Exp $
*/
/*
@@ -1276,7 +1276,6 @@ ip_fw_init(void)
static ip_fw_chk_t *old_chk_ptr;
static ip_fw_ctl_t *old_ctl_ptr;
-#if defined(IPFIREWALL_MODULE)
static int
ipfw_modevent(module_t mod, int type, void *unused)
{
@@ -1306,7 +1305,6 @@ ipfw_modevent(module_t mod, int type, void *unused)
}
splx(s);
- printf("IP firewall unloaded\n");
return 0;
default:
break;
@@ -1320,4 +1318,3 @@ static moduledata_t ipfwmod = {
0
};
DECLARE_MODULE(ipfw, ipfwmod, SI_SUB_PSEUDO, SI_ORDER_ANY);
-#endif
OpenPOWER on IntegriCloud