The reload of ipf(8) rules should depend on $ipfilter_enable, not

$ipfilter_active. $ipfilter_enable is set to "NO" if modules fail to
load, and $ipfilter_active can be "YES" when we are not using ipf(8).

MFC after:	3 days
This commit is contained in:
Crist J. Clark 2002-03-12 20:25:25 +00:00
parent e0864be24c
commit 7a82d7421f
7 changed files with 7 additions and 14 deletions

View File

@ -298,12 +298,11 @@ network_pass1() {
# Re-Sync ipfilter so it picks up any new network interfaces
#
case ${ipfilter_active} in
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf} -y ${ipfilter_flags} >/dev/null
;;
esac
unset ipfilter_active
# Initialize IP filtering using ipfw
#

View File

@ -298,12 +298,11 @@ network_pass1() {
# Re-Sync ipfilter so it picks up any new network interfaces
#
case ${ipfilter_active} in
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf} -y ${ipfilter_flags} >/dev/null
;;
esac
unset ipfilter_active
# Initialize IP filtering using ipfw
#

View File

@ -298,12 +298,11 @@ network_pass1() {
# Re-Sync ipfilter so it picks up any new network interfaces
#
case ${ipfilter_active} in
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf} -y ${ipfilter_flags} >/dev/null
;;
esac
unset ipfilter_active
# Initialize IP filtering using ipfw
#

View File

@ -298,12 +298,11 @@ network_pass1() {
# Re-Sync ipfilter so it picks up any new network interfaces
#
case ${ipfilter_active} in
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf} -y ${ipfilter_flags} >/dev/null
;;
esac
unset ipfilter_active
# Initialize IP filtering using ipfw
#

View File

@ -298,12 +298,11 @@ network_pass1() {
# Re-Sync ipfilter so it picks up any new network interfaces
#
case ${ipfilter_active} in
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf} -y ${ipfilter_flags} >/dev/null
;;
esac
unset ipfilter_active
# Initialize IP filtering using ipfw
#

View File

@ -298,12 +298,11 @@ network_pass1() {
# Re-Sync ipfilter so it picks up any new network interfaces
#
case ${ipfilter_active} in
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf} -y ${ipfilter_flags} >/dev/null
;;
esac
unset ipfilter_active
# Initialize IP filtering using ipfw
#

View File

@ -298,12 +298,11 @@ network_pass1() {
# Re-Sync ipfilter so it picks up any new network interfaces
#
case ${ipfilter_active} in
case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf} -y ${ipfilter_flags} >/dev/null
;;
esac
unset ipfilter_active
# Initialize IP filtering using ipfw
#