mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-01 23:45:53 +02:00
Eliminate nonsensical warning message.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
4b6fdf8b72
commit
860ee6de27
@ -1447,10 +1447,7 @@ sub validate_tc_class( ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unless ( $devref->{classify} || $occurs > 1 ) {
|
unless ( $devref->{classify} || $occurs > 1 ) {
|
||||||
if ( $mark ne '-' ) {
|
fatal_error "Missing MARK" if $mark eq '-';
|
||||||
fatal_error "Missing MARK" if $mark eq '-';
|
|
||||||
warning_message "Class NUMBER ignored -- INTERFACE $device does not have the 'classify' option" if $devclass =~ /:/;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$tcref->{flow} = $devref->{flow} unless $tcref->{flow};
|
$tcref->{flow} = $devref->{flow} unless $tcref->{flow};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user