ARP: remove unnecessary variables and add testcase

BIT-1573 #close
This commit is contained in:
Johanna Amann 2016-04-27 06:51:04 -07:00
parent e9a87566ef
commit 3a70289e91
5 changed files with 15 additions and 7 deletions

View file

@ -0,0 +1,13 @@
# @TEST-EXEC: bro -r $TRACES/arp-who-has.pcap %INPUT
# @TEST-EXEC: btest-diff .stdout
event arp_request(mac_src: string, mac_dst: string, SPA: addr, SHA: string, TPA: addr, THA: string)
{
print mac_src, mac_dst, SPA, SHA, TPA, THA;
}
event arp_reply(mac_src: string, mac_dst: string, SPA: addr, SHA: string, TPA: addr, THA: string)
{
print mac_src, mac_dst, SPA, SHA, TPA, THA;
}