kohler / click

The Click modular router: fast modular packet processing and analysis
Other
740 stars 321 forks source link

unknown element class 'Script' #380

Closed girishsg24 closed 6 years ago

girishsg24 commented 6 years ago

Hello Doctor,

I have been trying to use the Script element since a month but the console keeps complaining saying,

Thread "click": pointer: 0x2008030270, stack: 0x3d0000 config:2: unknown element class 'Script'

I am using the same code as you have suggested, in my .click file. InfiniteSource -> c :: Counter(COUNT_CALL 10000 s.run) -> Discard; s :: Script(TYPE PASSIVE, print "Something happened $(c.count)")

Could you please suggest how to deal with the issue. other elements like Print in the standard library works except for the Script element.

Thanks, Girish