mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-27 10:03:41 +01:00
Start u32 table numbers at 1 rather than 64
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8310 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
6f95ef2a22
commit
88b3d01914
@ -121,7 +121,10 @@ our @deferred_rules;
|
||||
# %tcdevices { <interface> -> {in_bandwidth => <value> ,
|
||||
# out_bandwidth => <value> ,
|
||||
# number => <number>,
|
||||
# default => <default class mark value> }
|
||||
# classify => 0|1
|
||||
# tablenumber => <next u32 table to be allocated for this device>
|
||||
# default => <default class mark value>
|
||||
# redirected => [ <dev1>, <dev2>, ... ] }
|
||||
#
|
||||
our @tcdevices;
|
||||
our %tcdevices;
|
||||
@ -382,7 +385,7 @@ sub validate_tc_device( $$$$$ ) {
|
||||
out_bandwidth => rate_to_kbit( $outband ) . 'kbit' ,
|
||||
number => $devnumber,
|
||||
classify => $classify ,
|
||||
tablenumber => 64 ,
|
||||
tablenumber => 1 ,
|
||||
redirected => \@redirected } ,
|
||||
|
||||
push @tcdevices, $device;
|
||||
|
Loading…
Reference in New Issue
Block a user