mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 04:11:22 +01:00
Fix handling of stab 'tsize' option.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c5ba167a3e
commit
5fc295e8cc
@ -1800,9 +1800,9 @@ sub process_traffic_shaping() {
|
|||||||
|
|
||||||
if ( $devref->{linklayer} ) {
|
if ( $devref->{linklayer} ) {
|
||||||
$stab = "stab linklayer $devref->{linklayer} overhead $devref->{overhead} ";
|
$stab = "stab linklayer $devref->{linklayer} overhead $devref->{overhead} ";
|
||||||
$stab .= "mtu $devref->{mtu} " if $devref->{mtu};
|
$stab .= "mtu $devref->{mtu} " if $devref->{mtu};
|
||||||
$stab .= "mpu $devref->{mpu} " if $devref->{mpu};
|
$stab .= "mpu $devref->{mpu} " if $devref->{mpu};
|
||||||
$stab .= "mpu $devref->{tsize} " if $devref->{tsize};
|
$stab .= "tsize $devref->{tsize} " if $devref->{tsize};
|
||||||
} else {
|
} else {
|
||||||
$stab = '';
|
$stab = '';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user