mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: using proper v2 package suffix (fixes #727)
This commit is contained in:
parent
76e136a18e
commit
2659a559c9
131 changed files with 318 additions and 297 deletions
|
@ -3,7 +3,7 @@ package syn_scan
|
|||
import (
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/bettercap/bettercap/network"
|
||||
"github.com/bettercap/bettercap/v2/network"
|
||||
|
||||
"github.com/google/gopacket"
|
||||
"github.com/google/gopacket/layers"
|
||||
|
@ -28,8 +28,6 @@ func (mod *SynScanner) onPacket(pkt gopacket.Packet) {
|
|||
var ip6 layers.IPv6
|
||||
var tcp layers.TCP
|
||||
|
||||
|
||||
|
||||
isIPv6 := false
|
||||
foundLayerTypes := []gopacket.LayerType{}
|
||||
parser := gopacket.NewDecodingLayerParser(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue