Browse Source

Remove the -E flag from ipf as it is implicitly enabled and using

the -E flag here causes the kernel to printf 'IP Filter: already
initialized'.
OPENBSD_2_7
millert 25 years ago
parent
commit
cb18cdc137
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/netstart

+ 2
- 2
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: netstart,v 1.67 2000/03/18 19:45:45 deraadt Exp $
# $OpenBSD: netstart,v 1.68 2000/04/04 13:44:51 millert Exp $
# Returns true if $1 contains only alphanumerics
isalphanumeric() {
@ -30,7 +30,7 @@ fi
# Configure the IP filter before configuring network interfaces
if [ X"${ipfilter}" = X"YES" -a -f "${ipfilter_rules}" ]; then
echo 'configuring IP filter'
ipf -Fa -f ${ipfilter_rules} -E
ipf -Fa -f ${ipfilter_rules}
else
ipfilter=NO
fi


Loading…
Cancel
Save