forked from extern/shorewall_code
Allow hex numbers in 'mark' column of the providers file == Take 4
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3853 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
0b2b7935fc
commit
86be38046c
@ -3112,6 +3112,11 @@ setup_traffic_shaping()
|
||||
esac
|
||||
|
||||
eval devnum=\$$(chain_base $device)_devnum
|
||||
#
|
||||
# Convert HEX/OCTAL mark representation to decimal
|
||||
#
|
||||
mark=$(($mark))
|
||||
|
||||
classid=$devnum:1$mark
|
||||
|
||||
[ -n "$devnum" ] || fatal_error "Device $device not defined in $devfile"
|
||||
|
Loading…
Reference in New Issue
Block a user