From d59b9300bb469aa7c288cd0560d5354cc003ff32 Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Fri, 15 Nov 2024 14:06:24 +0100 Subject: [PATCH] baseline/svr: Print c$id explicitly --- tests/analyzer/svr.zeek | 2 +- tests/baseline/analyzer.svr/output | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/analyzer/svr.zeek b/tests/analyzer/svr.zeek index 1da43ab..f479767 100644 --- a/tests/analyzer/svr.zeek +++ b/tests/analyzer/svr.zeek @@ -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; } diff --git a/tests/baseline/analyzer.svr/output b/tests/baseline/analyzer.svr/output index 0ab5f3e..5d54e18 100644 --- a/tests/baseline/analyzer.svr/output +++ b/tests/baseline/analyzer.svr/output @@ -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