mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00

- Use `-b` most everywhere, it will save time. - Start some intel tests upon the input file being fully read instead of at an arbitrary time. - Improve termination condition for some sumstats/cluster tests. - Filter uninteresting output from some supervisor tests. - Test for `notice_policy.log` is no longer needed.
15 lines
354 B
Text
15 lines
354 B
Text
# @TEST-EXEC: zeek -b -C -b -r $TRACES/snmp/snmpwalk-short.pcap %INPUT
|
|
# @TEST-EXEC: btest-diff .stdout
|
|
|
|
@load base/protocols/snmp
|
|
|
|
event snmp_response(c: connection, is_orig: bool, header: SNMP::Header, pdu: SNMP::PDU) {
|
|
|
|
for (i in pdu$bindings) {
|
|
local binding = pdu$bindings[i];
|
|
|
|
if (binding$value?$address)
|
|
print binding$value$address;
|
|
}
|
|
|
|
}
|