summaryrefslogtreecommitdiffstats
path: root/etc/rc.firewall
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>2000-02-06 19:25:00 +0000
committerpaul <paul@FreeBSD.org>2000-02-06 19:25:00 +0000
commit1526ff49b06acf5fbe5b53d68b5c8f3eae8aa7ec (patch)
tree2ee6f0afa62f52a61d4f2ef6779284d8a45e3e39 /etc/rc.firewall
parent3d2242deb08b2078e25b66f4efb656f6b61b6e85 (diff)
downloadFreeBSD-src-1526ff49b06acf5fbe5b53d68b5c8f3eae8aa7ec.zip
FreeBSD-src-1526ff49b06acf5fbe5b53d68b5c8f3eae8aa7ec.tar.gz
Add a firewall_flags option that is used when ipfw processes a file. It allows
you to run a preprocessor, such as m4, so that you can use macros in your rules file. Approved by: jkh
Diffstat (limited to 'etc/rc.firewall')
-rw-r--r--etc/rc.firewall2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.firewall b/etc/rc.firewall
index b8643e3..3742880 100644
--- a/etc/rc.firewall
+++ b/etc/rc.firewall
@@ -229,7 +229,7 @@ case ${firewall_type} in
;;
*)
if [ -r "${firewall_type}" ]; then
- ${fwcmd} ${firewall_type}
+ ${fwcmd} ${firewall_flags} ${firewall_type}
fi
;;
esac
OpenPOWER on IntegriCloud