From 9b1a33172666f6bee0fa276e0f9cdcec02bdc234 Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 11 Oct 2006 14:46:56 +0000 Subject: [PATCH] Fix HIGH_ROUTE_MARKS and OUTPUT git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4662 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/lib.tcrules | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Shorewall/lib.tcrules b/Shorewall/lib.tcrules index e4b16e2ca..bb60cac97 100644 --- a/Shorewall/lib.tcrules +++ b/Shorewall/lib.tcrules @@ -72,7 +72,7 @@ process_tc_rule() mark=$mark/0xff did_connmark=Yes } - + validate_mark() { case $1 in @@ -86,7 +86,7 @@ process_tc_rule() esac } - add_a_tc_rule() { + add_a_tc_rule() { r= if [ "x$source" != "x-" ]; then @@ -206,6 +206,12 @@ process_tc_rule() } + case $sources in + $FW|$FW:*) + chain=tcout + ;; + esac + if [ "$mark" != "${mark%:*}" ]; then case "${mark#*:}" in p|P)