Introduce 'classid' into discussion of classification in tcrules

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2814 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-10-06 16:35:20 +00:00
parent 26628652cd
commit 1f23f6a9a4
2 changed files with 6 additions and 4 deletions

View File

@ -1265,6 +1265,8 @@ setup_providers()
add_a_provider() { add_a_provider() {
local t n iface option local t n iface option
[ -n "$MANGLE_ENABLED" ] || fatal_error "Providers require mangle support in your kernel and iptables"
for t in $PROVIDERS; do for t in $PROVIDERS; do
if [ "$t" = "$table" ]; then if [ "$t" = "$table" ]; then
fatal_error "Duplicate Provider: $table, provider: \"$provider\"" fatal_error "Duplicate Provider: $table, provider: \"$provider\""

View File

@ -48,10 +48,10 @@
# CP: Mark the connection in the PREROUTING # CP: Mark the connection in the PREROUTING
# chain. # chain.
# #
# b) A classification of the form <major>:<minor> where # b) A classification (classid) of the form
# <major> and <minor> are integers. Corresponds to # <major>:<minor> where <major> and <minor> are
# the 'class' specification in these traffic shaping # integers. Corresponds to the 'class' specification
# modules: # in these traffic shaping modules:
# #
# - atm # - atm
# - cbq # - cbq