mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
b0f7e764dc
commit
fad6172b40
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ func (q *Queue) worker() {
|
||||||
srcIP = ip4.SrcIP
|
srcIP = ip4.SrcIP
|
||||||
dstIP = ip4.DstIP
|
dstIP = ip4.DstIP
|
||||||
} else {
|
} else {
|
||||||
ip6 := lip4.(*layers.IPv6)
|
ip6 := lip6.(*layers.IPv6)
|
||||||
srcIP = ip6.SrcIP
|
srcIP = ip6.SrcIP
|
||||||
dstIP = ip6.DstIP
|
dstIP = ip6.DstIP
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue