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:
teastep 2008-03-19 22:25:41 +00:00
parent 6f95ef2a22
commit 88b3d01914

View File

@ -121,7 +121,10 @@ our @deferred_rules;
# %tcdevices { <interface> -> {in_bandwidth => <value> , # %tcdevices { <interface> -> {in_bandwidth => <value> ,
# out_bandwidth => <value> , # out_bandwidth => <value> ,
# number => <number>, # 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;
our %tcdevices; our %tcdevices;
@ -382,7 +385,7 @@ sub validate_tc_device( $$$$$ ) {
out_bandwidth => rate_to_kbit( $outband ) . 'kbit' , out_bandwidth => rate_to_kbit( $outband ) . 'kbit' ,
number => $devnumber, number => $devnumber,
classify => $classify , classify => $classify ,
tablenumber => 64 , tablenumber => 1 ,
redirected => \@redirected } , redirected => \@redirected } ,
push @tcdevices, $device; push @tcdevices, $device;