Skip to content
Snippets Groups Projects
Commit 95583dc7 authored by ale's avatar ale
Browse files

Enable support for the 'raw' table with IPv6

parent 2b848783
Branches
No related tags found
No related merge requests found
...@@ -165,11 +165,11 @@ load_firewall() { ...@@ -165,11 +165,11 @@ load_firewall() {
trap "rm -f ${tmpfiles} 2>/dev/null; trap - EXIT; exit 0" EXIT trap "rm -f ${tmpfiles} 2>/dev/null; trap - EXIT; exit 0" EXIT
# Setup the various tables. Note that IPv6 only has the # Setup the various tables. Note that IPv6 only has the
# 'filter' table. # 'filter' and 'raw' tables.
for table in ${TABLES} ; do for table in ${TABLES} ; do
table_dir=${CONFIG_DIR}/${table}.d table_dir=${CONFIG_DIR}/${table}.d
case "$table" in case "$table" in
filter) filter|raw)
run_with_fds ${v4rules} ${v6rules} \ run_with_fds ${v4rules} ${v6rules} \
generate ${table} ${table_dir} generate ${table} ${table_dir}
;; ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment