Skip to content

Commit

Permalink
misc: small fix or general refactoring i did not bother commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Apr 3, 2021
1 parent b0f7e76 commit fad6172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packets/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (q *Queue) worker() {
srcIP = ip4.SrcIP
dstIP = ip4.DstIP
} else {
ip6 := lip4.(*layers.IPv6)
ip6 := lip6.(*layers.IPv6)
srcIP = ip6.SrcIP
dstIP = ip6.DstIP
}
Expand Down

0 comments on commit fad6172

Please sign in to comment.