From 5fc295e8ccb7506170eaa04f1224c104a7beae38 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 14 Jun 2012 15:44:15 -0700 Subject: [PATCH] Fix handling of stab 'tsize' option. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Tc.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index 45dbdfdee..7302d2b18 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -1800,9 +1800,9 @@ sub process_traffic_shaping() { if ( $devref->{linklayer} ) { $stab = "stab linklayer $devref->{linklayer} overhead $devref->{overhead} "; - $stab .= "mtu $devref->{mtu} " if $devref->{mtu}; - $stab .= "mpu $devref->{mpu} " if $devref->{mpu}; - $stab .= "mpu $devref->{tsize} " if $devref->{tsize}; + $stab .= "mtu $devref->{mtu} " if $devref->{mtu}; + $stab .= "mpu $devref->{mpu} " if $devref->{mpu}; + $stab .= "tsize $devref->{tsize} " if $devref->{tsize}; } else { $stab = ''; }