diff options
Diffstat (limited to 'net-firewall/firehol/files/firehol-1.250-groupwith.patch')
-rw-r--r-- | net-firewall/firehol/files/firehol-1.250-groupwith.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/net-firewall/firehol/files/firehol-1.250-groupwith.patch b/net-firewall/firehol/files/firehol-1.250-groupwith.patch deleted file mode 100644 index 0ab51fb53472..000000000000 --- a/net-firewall/firehol/files/firehol-1.250-groupwith.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- firehol.sh 2007-02-27 13:17:40.000000000 -0500 -+++ firehol.new 2007-03-21 16:02:34.000000000 -0400 -@@ -3040,6 +3040,7 @@ - - case $type in - with|start|begin) -+ local direction="${1}" - # increase the counter - FIREHOL_GROUP_COUNTER=$[FIREHOL_GROUP_COUNTER + 1] - -@@ -3053,8 +3054,14 @@ - mychain="group${FIREHOL_GROUP_COUNTER}" - - # create the new chain -- create_chain filter "in_${mychain}" "in_${work_name}" in "$@" || return 1 -- create_chain filter "out_${mychain}" "out_${work_name}" out reverse "$@" || return 1 -+ if [ "$direction" = "src" ] -+ then -+ create_chain filter "in_${mychain}" "in_${work_name}" in "$@" || return 1 -+ create_chain filter "out_${mychain}" "out_${work_name}" out reverse "$@" || return 1 -+ else -+ create_chain filter "in_${mychain}" "in_${work_name}" out reverse "$@" || return 1 -+ create_chain filter "out_${mychain}" "out_${work_name}" in "$@" || return 1 -+ fi - - # set a new name for new rules - work_name=${mychain} |