mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-08 22:58:50 +01:00
Specify 'mpu' when creating TBF
This commit is contained in:
parent
228eeabb7d
commit
82913abeca
@ -543,6 +543,8 @@ sub process_simple_device() {
|
||||
$command .= ' latency 200ms';
|
||||
}
|
||||
|
||||
$command .= ' mpu 64'; #Assume Ethernet
|
||||
|
||||
if ( defined $peak && $peak ne '' ) {
|
||||
fatal_error "Invalid peak ($peak)" unless $peak =~ /^\d+(?:\.\d+)?(k|kb|m|mb|mbit|kbit|b)?$/;
|
||||
$command .= " peakrate $peak";
|
||||
|
Loading…
Reference in New Issue
Block a user