~mdw
/
firewall
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d885232
)
functions.m4: Write the netclass ids to the trace output.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 5 Mar 2012 23:51:44 +0000
(23:51 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 5 Mar 2012 23:56:03 +0000
(23:56 +0000)
functions.m4
patch
|
blob
|
blame
|
history
diff --git
a/functions.m4
b/functions.m4
index
891b037
..
d059de6
100644
(file)
--- a/
functions.m4
+++ b/
functions.m4
@@
-389,6
+389,7
@@
defnetclass () {
## Pass 1. Establish the from_NAME and to_NAME constants, and the
## netclass's mask bit.
+ trace "netclass $name = $netclassindex"
eval from_$name=$(( $netclassindex << $BIT_FROM ))
eval to_$name=$(( $netclassindex << $BIT_TO ))
eval _mask_$name=$(( 1 << ($netclassindex + $BIT_MASK) ))