zeek/testing/btest/core/mobile-ipv6-home-addr.test
2019-05-16 02:27:54 -05:00

12 lines
393 B
Text

# @TEST-REQUIRES: grep -q "#define ENABLE_MOBILE_IPV6" $BUILD/zeek-config.h
#
# @TEST-EXEC: zeek -b -r $TRACES/mobile-ipv6/ipv6-mobile-hoa.trace %INPUT >output
# @TEST-EXEC: btest-diff output
# Just check that the orig of the connection is the Home Address, but the
# source in the header is the actual source address.
event new_packet(c: connection, p: pkt_hdr)
{
print c$id;
print p;
}