diff options
author | mux <mux@FreeBSD.org> | 2003-09-27 13:50:47 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2003-09-27 13:50:47 +0000 |
commit | c1bc6d5ff2aff59291a31bebffdb96be391e0012 (patch) | |
tree | 2f051a22a58c633eb7274fdd21fd3a140e8073fd /usr.sbin/sysinstall/config.c | |
parent | 74c6dfd454b675b7406058908d5bdcdcaa40be38 (diff) | |
download | FreeBSD-src-c1bc6d5ff2aff59291a31bebffdb96be391e0012.zip FreeBSD-src-c1bc6d5ff2aff59291a31bebffdb96be391e0012.tar.gz |
A number of fixes/enhancements for the ipfilter rc script:
- Use a more robust check to determine if we need to load ipl.ko.
- Don't try to run ipf -E if ipfilter is already enabled. Look at
the net.inet.ipf.fr_running sysctl to figure this out. This fixes
a warning message about ipfilter being already initialized.
- Only one ipf -E command is needed. We don't need an extra one for
the -6 case which would only print a warning message about ipfilter
being already initialized.
- Fix one occurence where we were running /sbin/ipf directly without
using the ${ipfilter_program} variable if set.
- In ipfilter_stop(), don't try to save the firewall state tables if
ipfilter is disabled. Similarly, don't try to disable it if it's
already disabled. This fixes some more error messages.
Diffstat (limited to 'usr.sbin/sysinstall/config.c')
0 files changed, 0 insertions, 0 deletions