[Bro] include icmp6.h problem

Vern Paxson vern at icir.org
Sat May 26 15:00:51 PDT 2007


> What do you think is the best practice to solve this issue : rename the 
> variable in dns_pac, include a modified version of icmp6.h with Bro... ?

The first question is whether the icmp6.h include really needs to be in
net_util.h, or if it could be confined to the source file(s) that use the
definitions.

If it does, then following the include with #undef rr_type (and a comment
as to why) is probably the way to go, ugly as it is.

		Vern



More information about the Bro mailing list