Hi,
I like to set variable with #2 rule and use them in action on #3 rule.
I try add context CHANNEL_ON_$1 where $1 is IP address of host
But I don't know how to read it from rule #3
#1
type=Suppress
ptype=RegExp
pattern=(\b(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b) .* DATA .*
desc=Suppress counting after channel change on STB $1
context=1SUPPRESS_ERRORS_ON_STB_$1
#2
type=Single
ptype=RegExp
pattern=(\b(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b) .* igmp:\/\/(.*):.* PLAYER .*
desc=create suppress after channel change for 12secs
action=create SUPPRESS_ERRORS_ON_STB_$1 2; \
add CHANNEL_ON_$1 $2
#3
type=Single
ptype=RegExp
pattern=(\b(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b) .* DATA .*
desc=error count for $1
action=write /var/log/errors error on stb $1 at channel $THIS $2 FROM RULE
#2
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users