mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
Cosmetic improvements in tcclasses processing
This commit is contained in:
parent
90b07d849d
commit
79adcb964f
@ -639,9 +639,10 @@ sub validate_tc_class( $$$$$$ ) {
|
|||||||
rate => $tcref->{rate} ,
|
rate => $tcref->{rate} ,
|
||||||
ceiling => $tcref->{ceiling} ,
|
ceiling => $tcref->{ceiling} ,
|
||||||
priority => $tcref->{priority} ,
|
priority => $tcref->{priority} ,
|
||||||
mark => $tcref->{classify} ? 0 : ++$markval ,
|
mark => 0 ,
|
||||||
flow => $tcref->{flow} ,
|
flow => $tcref->{flow} ,
|
||||||
pfifo => $tcref->{pfifo},
|
pfifo => $tcref->{pfifo},
|
||||||
|
occurs => 0,
|
||||||
};
|
};
|
||||||
push @tcclasses, "$device:$classnumber";
|
push @tcclasses, "$device:$classnumber";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user