Skip to content

Commit

Permalink
baseline/svr: Print c$id explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
awelzel committed Nov 15, 2024
1 parent f3fe5a8 commit d59b930
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/analyzer/svr.zeek
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

event dns_SRV_reply(c: connection, msg: dns_msg, ans: dns_answer, target: string, priority: count, weight: count, p: count)
{
print c$id, msg, ans, target, priority, weight, p;
print c$id$orig_h, c$id$orig_p, c$id$resp_h, c$id$resp_p, msg, ans, target, priority, weight, p;
}
4 changes: 2 additions & 2 deletions tests/baseline/analyzer.svr/output
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
### NOTE: This file has been sorted with diff-sort.
[orig_h=192.168.7.105, orig_p=54488/udp, resp_h=1.1.1.1, resp_p=53/udp], [id=19549, opcode=0, rcode=0, QR=T, AA=F, TC=F, RD=T, RA=T, Z=0, AD=F, CD=F, num_queries=1, num_answers=2, num_auth=0, num_addl=1], [answer_type=1, query=_sip._udp.sip.voice.google.com, qtype=33, qclass=1, TTL=4.0 mins 10.0 secs], sip-anycast-1.voice.google.com, 10, 1, 5060
[orig_h=192.168.7.105, orig_p=54488/udp, resp_h=1.1.1.1, resp_p=53/udp], [id=19549, opcode=0, rcode=0, QR=T, AA=F, TC=F, RD=T, RA=T, Z=0, AD=F, CD=F, num_queries=1, num_answers=2, num_auth=0, num_addl=1], [answer_type=1, query=_sip._udp.sip.voice.google.com, qtype=33, qclass=1, TTL=4.0 mins 10.0 secs], sip-anycast-2.voice.google.com, 20, 1, 5060
192.168.7.105, 54488/udp, 1.1.1.1, 53/udp, [id=19549, opcode=0, rcode=0, QR=T, AA=F, TC=F, RD=T, RA=T, Z=0, AD=F, CD=F, num_queries=1, num_answers=2, num_auth=0, num_addl=1], [answer_type=1, query=_sip._udp.sip.voice.google.com, qtype=33, qclass=1, TTL=4.0 mins 10.0 secs], sip-anycast-1.voice.google.com, 10, 1, 5060
192.168.7.105, 54488/udp, 1.1.1.1, 53/udp, [id=19549, opcode=0, rcode=0, QR=T, AA=F, TC=F, RD=T, RA=T, Z=0, AD=F, CD=F, num_queries=1, num_answers=2, num_auth=0, num_addl=1], [answer_type=1, query=_sip._udp.sip.voice.google.com, qtype=33, qclass=1, TTL=4.0 mins 10.0 secs], sip-anycast-2.voice.google.com, 20, 1, 5060

0 comments on commit d59b930

Please sign in to comment.