From: Arne Fitzenreiter Date: Sat, 16 Oct 2021 08:18:42 +0000 (+0200) Subject: makeqosscripts: add missing parenthesis at QOS_OUT Layer7 rules. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c838a59ea59e3f47fbb0b381a4e2b7f7a8f3571;p=people%2Fms%2Fipfire-2.x.git makeqosscripts: add missing parenthesis at QOS_OUT Layer7 rules. Signed-off-by: Arne Fitzenreiter --- diff --git a/config/qos/makeqosscripts.pl b/config/qos/makeqosscripts.pl index fc8b8b84f1..bf5b5e0aed 100644 --- a/config/qos/makeqosscripts.pl +++ b/config/qos/makeqosscripts.pl @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2013 IPFire Team # +# Copyright (C) 2007-2021 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -296,7 +296,7 @@ END if ($qossettings{'DIP'} ne ''){ print "-d $qossettings{'DIP'} "; } - print "-m layer7 --l7dir /etc/l7-protocols/protocols --l7proto $qossettings{'L7PROT'} -j MARK --set-xmark " . $qossettings{'CLASS'} << $QOS_OUT_SHIFT . "/$QOS_OUT_MASK\n"; + print "-m layer7 --l7dir /etc/l7-protocols/protocols --l7proto $qossettings{'L7PROT'} -j MARK --set-xmark " . ($qossettings{'CLASS'} << $QOS_OUT_SHIFT) . "/$QOS_OUT_MASK\n"; print "\tiptables -t mangle -A QOS-OUT "; if ($qossettings{'QIP'} ne ''){ print "-s $qossettings{'QIP'} ";