[Bro] Changing an internal variable from C code

Yuppie yuppie4ever at gmail.com
Fri Dec 8 09:52:27 PST 2006


On Fri, 2006-12-08 at 11:20 -0500, Ruoming Pang wrote:
> Please take a look at NetVar.{h,cc} as a starting point. That's where
> "internal variables" are defined.

Net.cc doesn't seem to modify anything. I wanted to know how can I
modify variables that are defined in the .bro files.

> By the way, which is the variable you want to manipulate in C++ code?

It's my own variable - a variable defined by my .bro file which is
loaded on startup. I want to modify it later in the C++ code.

thanks!
-vish




More information about the Bro mailing list