From 88b3d019141c23a79abfe765c237d39856e854fb Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 19 Mar 2008 22:25:41 +0000 Subject: [PATCH] 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 --- Shorewall-perl/Shorewall/Tc.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Shorewall-perl/Shorewall/Tc.pm b/Shorewall-perl/Shorewall/Tc.pm index 8bfabd383..dfc89e17e 100644 --- a/Shorewall-perl/Shorewall/Tc.pm +++ b/Shorewall-perl/Shorewall/Tc.pm @@ -121,7 +121,10 @@ our @deferred_rules; # %tcdevices { -> {in_bandwidth => , # out_bandwidth => , # number => , -# default => } +# classify => 0|1 +# tablenumber => +# default => +# redirected => [ , , ... ] } # 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;