zeek/testing/btest/bifs/routing0_data_to_addrs.test
Jon Siwek 5312a904ab Fix ipv6_ext_headers event and add routing0_data_to_addrs BIF.
Also add unit tests for ipv6_ext_headers and esp_packet events.
2012-03-14 10:31:08 -05:00

9 lines
286 B
Text

# @TEST-EXEC: bro -C -b -r $TRACES/ext_hdr_hbh_routing.trace %INPUT >output
# @TEST-EXEC: btest-diff output
event ipv6_ext_headers(c: connection, p: pkt_hdr)
{
for ( h in p$ip6$routing )
if ( p$ip6$routing[h]$rtype == 0 )
print routing0_data_to_addrs(p$ip6$routing[h]$data);
}