aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>1999-05-24 10:01:22 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>1999-05-24 10:01:22 +0000
commite142fadecb5cca130e89a7f373202629f6c8a155 (patch)
tree00ccc9b21834532a96fd16605295c4069d9a755a /sys
parent26e64ed9d4e3a8a318daeb42006db459e62e3925 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_fw.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index f21410987d37..557dcf0ce6e0 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.110 1999/04/26 14:57:24 luigi Exp $
+ * $Id: ip_fw.c,v 1.111 1999/05/03 23:57:28 billf Exp $
*/
/*
@@ -1175,6 +1175,9 @@ ip_fw_ctl(struct sockopt *sopt)
fcp = ip_fw_chain.lh_first) {
s = splnet();
LIST_REMOVE(fcp, chain);
+#ifdef DUMMYNET
+ dn_rule_delete(fcp);
+#endif
FREE(fcp->rule, M_IPFW);
FREE(fcp, M_IPFW);
splx(s);