From 1d3ea71574de2fc418a1b44d5f42dd8ef3b5b68a Mon Sep 17 00:00:00 2001 From: Kohei Okazaki Date: Sun, 7 Apr 2024 22:57:30 +0900 Subject: [PATCH] fix fmt --- header.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/header.go b/header.go index bf168b1..da0c589 100644 --- a/header.go +++ b/header.go @@ -120,7 +120,7 @@ func (d *DnsHeader) write(buf *BytePacketBuffer) error { func b2i(b bool) uint8 { if b { - return 1 + return 1 } return 0 }