Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
iluxa committed Jan 22, 2024
1 parent 2c4724d commit c02a284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packet_unix_socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (c *SocketPcap) WritePacket(buf gopacket.SerializeBuffer) error {
}
// clear buffer at the end as soon as it is prepended with specific data
defer func() {
buf.Clear()
_ = buf.Clear()
}()
}
for sock, conn := range c.connections {
Expand Down

0 comments on commit c02a284

Please sign in to comment.