[Bro] Help with simple stuff

Seth Hall seth at icir.org
Tue Jun 23 19:13:57 PDT 2015

> On Jun 23, 2015, at 6:59 PM, Michael Black <mdblack98 at yahoo.com> wrote:
>                 local mypair = string_cat(c$id$orig_h,",",c$id$resp_h);
> What obvious thing am I missing?  Logically seems like one should be able to concatenate these together.

Easy fix at least, use the “cat” function instead.  string_cat only accepts strings are parameters, but orig_h and resp_h are addrs.  cat accepts any type for it’s arguments.

Good luck on whatever you’re working on. :)


Seth Hall
International Computer Science Institute
(Bro) because everyone has a network

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20150623/c1a9ff48/attachment.bin 

More information about the Bro mailing list