From 852b5d28e82255a93324b2af54f9096fed54f2bd Mon Sep 17 00:00:00 2001 From: TochusC <205329624@qq.com> Date: Mon, 14 Oct 2024 16:20:06 +0800 Subject: [PATCH] Remove debug print statement from DNS resource record serialization --- layers/dns.go | 1 - 1 file changed, 1 deletion(-) diff --git a/layers/dns.go b/layers/dns.go index 34e81d809..af27e8db0 100644 --- a/layers/dns.go +++ b/layers/dns.go @@ -846,7 +846,6 @@ func (rr *DNSResourceRecord) encode(data []byte, offset int, opts gopacket.Seria default: noff2 := noff + 10 copy(data[noff2:], rr.Data) - fmt.Printf("serializing resource record of type %v from raw data\n Hope you know what you're doing! :)\n", rr.Type) } // DataLength