forked from extern/shorewall_code
Complain if there is no default class defined
This commit is contained in:
parent
38f00543f8
commit
97d795b3b1
@ -1379,6 +1379,8 @@ sub setup_traffic_shaping() {
|
||||
my $devnum = in_hexp $devref->{number};
|
||||
my $r2q = int calculate_r2q $devref->{out_bandwidth};
|
||||
|
||||
fatal_error "No default class defined for device $device" unless $devref->{default};
|
||||
|
||||
$device = physical_name $device;
|
||||
|
||||
my $dev = chain_base( $device );
|
||||
|
Loading…
Reference in New Issue
Block a user