From: Mark Wooding Date: Mon, 5 Mar 2012 23:51:44 +0000 (+0000) Subject: functions.m4: Write the netclass ids to the trace output. X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/commitdiff_plain/16838f5907ea531799a81a693667c3d3d03737b0 functions.m4: Write the netclass ids to the trace output. --- diff --git a/functions.m4 b/functions.m4 index 891b037..d059de6 100644 --- 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) ))