From 2df2f6af71821a4eca82708c932617369f6811d8 Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Sat, 22 Jun 1996 00:54:36 +0000 Subject: [PATCH] Flush out the rules before adding entries. This prevents duplicate rules from appearing when switching back and forth from single to multi-user modes. --- etc/rc.firewall | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/etc/rc.firewall b/etc/rc.firewall index de2b563484be..9558f97a28a6 100644 --- a/etc/rc.firewall +++ b/etc/rc.firewall @@ -1,6 +1,6 @@ ############ # Setup system for firewall service. -# $Id: rc.firewall,v 1.1 1996/04/03 17:13:58 phk Exp $ +# $Id: rc.firewall,v 1.2 1996/04/12 09:16:42 phk Exp $ ############ # @@ -29,6 +29,10 @@ # ISBN 0-201-6337-4 # +############ +# Flush out the list before we begin. +/sbin/ipfw flush + ############ # If you just configured ipfw in the kernel as a tool to solve network # problems or you just want to disallow some particular kinds of traffic