Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
okazaki-kk committed Apr 7, 2024
1 parent dc5dce8 commit 1d3ea71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion header.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (d *DnsHeader) write(buf *BytePacketBuffer) error {

func b2i(b bool) uint8 {
if b {
return 1
return 1
}
return 0
}

0 comments on commit 1d3ea71

Please sign in to comment.