[Bro] Record problem...
Navdeep Singh
navdeepsuri13 at gmail.com
Sat Aug 1 06:37:47 PDT 2009
Hi
I am new to bro but really interested working in bro. I have already started
the work. I am encountering a problem now.
It is about records. Let me explain wid the help of example:
type con: record
{
orig_h: addr;
orig_p: port;
resp_h: addr;
resp_p: port;
};
type con2: record
{
orig_h: addr;
orig_p: port;
resp_h: addr;
resp_p: port;
num_notices: count &optional;
};
function fun()
{
local id: con;
local id2: con2;
id2 = id;
}
This is giving segmentation fault , the statement id2=id. But in
documentation of bro , they have said this is absolutely right. Please
explain this.
Regards
Navdeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20090801/8dab0c32/attachment.html
More information about the Bro
mailing list