summaryrefslogtreecommitdiffstats
path: root/etc/rc.firewall6
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2001-02-28 06:51:17 +0000
committergshapiro <gshapiro@FreeBSD.org>2001-02-28 06:51:17 +0000
commit3fd57baf14c3fcfda2d3107a6546fc91ef64acaf (patch)
tree80a5877588785f4cac11385cad0ffe401a92fe81 /etc/rc.firewall6
parente32fb0047ab4bff94a57c7bb5792ee827d0fd298 (diff)
downloadFreeBSD-src-3fd57baf14c3fcfda2d3107a6546fc91ef64acaf.zip
FreeBSD-src-3fd57baf14c3fcfda2d3107a6546fc91ef64acaf.tar.gz
ip6fw doesn't support -q if reading from a file so don't use ${fw6cmd} which
may have a -q if ${ipv6_firewall_quiet} is set. Reviewed by: kris
Diffstat (limited to 'etc/rc.firewall6')
-rw-r--r--etc/rc.firewall63
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.firewall6 b/etc/rc.firewall6
index 646d3d1..a83daed 100644
--- a/etc/rc.firewall6
+++ b/etc/rc.firewall6
@@ -253,7 +253,8 @@ case ${ipv6_firewall_type} in
;;
*)
if [ -r "${ipv6_firewall_type}" ]; then
- ${fw6cmd} ${ipv6_firewall_flags} ${ipv6_firewall_type}
+ # Can't use ${fw6cmd} as ip6fw doesn't support -q with a file
+ /sbin/ip6fw ${ipv6_firewall_flags} ${ipv6_firewall_type}
fi
;;
esac
OpenPOWER on IntegriCloud