mirror of
https://github.com/maride/pancap.git
synced 2024-11-22 00:44:26 +00:00
Move to git imports rather than relative imports
This commit is contained in:
parent
6e2893c90a
commit
76a51dac52
@ -3,9 +3,9 @@ package main
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"git.darknebu.la/maride/pancap/src/ethernet"
|
||||||
"github.com/google/gopacket"
|
"github.com/google/gopacket"
|
||||||
"github.com/google/gopacket/layers"
|
"github.com/google/gopacket/layers"
|
||||||
"./ethernet"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Analyzes the given packet source
|
// Analyzes the given packet source
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
package ethernet
|
package ethernet
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"git.darknebu.la/maride/pancap/src/ethernet/arp"
|
||||||
|
"git.darknebu.la/maride/pancap/src/ethernet/dns"
|
||||||
"github.com/google/gopacket"
|
"github.com/google/gopacket"
|
||||||
"github.com/google/gopacket/layers"
|
"github.com/google/gopacket/layers"
|
||||||
"log"
|
"log"
|
||||||
"./arp"
|
|
||||||
"./dns"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func Analyze(source *gopacket.PacketSource) error {
|
func Analyze(source *gopacket.PacketSource) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user