mirror of
https://github.com/firehol/firehol.git
synced 2024-06-30 19:02:21 +00:00
convert marks to hex, in order to match ip rule output
This commit is contained in:
parent
0657b76213
commit
76267346c0
@ -1283,7 +1283,7 @@ rules() {
|
||||
local x=
|
||||
for x in $1
|
||||
do
|
||||
mark+=("$[x << ${MARKS_SHIFT[$marktype]}]/${MARKS_MASKS[$marktype]}")
|
||||
mark+=(`printf "0x%x/${MARKS_MASKS[$marktype]}" "$[x << ${MARKS_SHIFT[$marktype]}]"`)
|
||||
done
|
||||
fi
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user