fix: using statically linked version of gopacket (fixes #98)

This commit is contained in:
evilsocket 2018-02-28 01:06:49 +01:00
commit 496c29b5bc
24 changed files with 44 additions and 44 deletions

View file

@ -3,7 +3,7 @@ package packets
import (
"net"
"github.com/google/gopacket/layers"
"github.com/bettercap/gopacket/layers"
)
func NewARPTo(from net.IP, from_hw net.HardwareAddr, to net.IP, to_hw net.HardwareAddr, req uint16) (layers.Ethernet, layers.ARP) {

View file

@ -3,7 +3,7 @@ package packets
import (
"errors"
// TODO: refactor to use gopacket when gopacket folks
// will fix this > https://github.com/google/gopacket/issues/334
// will fix this > https://github.com/bettercap/gopacket/issues/334
"github.com/mdlayher/dhcp6"
)

View file

@ -1,7 +1,7 @@
package packets
import (
"github.com/google/gopacket"
"github.com/bettercap/gopacket"
)
type DHCPv6Layer struct {

View file

@ -6,8 +6,8 @@ import (
"fmt"
"net"
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
"github.com/bettercap/gopacket"
"github.com/bettercap/gopacket/layers"
)
type Dot11CipherType uint8

View file

@ -8,9 +8,9 @@ import (
"github.com/bettercap/bettercap/network"
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
"github.com/google/gopacket/pcap"
"github.com/bettercap/gopacket"
"github.com/bettercap/gopacket/layers"
"github.com/bettercap/gopacket/pcap"
)
type Activity struct {

View file

@ -1,7 +1,7 @@
package packets
import (
"github.com/google/gopacket"
"github.com/bettercap/gopacket"
)
var SerializationOptions = gopacket.SerializeOptions{

View file

@ -1,7 +1,7 @@
package packets
import (
"github.com/google/gopacket/layers"
"github.com/bettercap/gopacket/layers"
"net"
)

View file

@ -1,7 +1,7 @@
package packets
import (
"github.com/google/gopacket/layers"
"github.com/bettercap/gopacket/layers"
"net"
)