From 76a51dac52387b99d4bdaef0a3238a205d6e05a1 Mon Sep 17 00:00:00 2001 From: maride Date: Thu, 28 Nov 2019 13:27:23 +0100 Subject: [PATCH] Move to git imports rather than relative imports --- src/analyzer.go | 2 +- src/ethernet/ethernet.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/analyzer.go b/src/analyzer.go index c978167..be52023 100644 --- a/src/analyzer.go +++ b/src/analyzer.go @@ -3,9 +3,9 @@ package main import ( "errors" "fmt" + "git.darknebu.la/maride/pancap/src/ethernet" "github.com/google/gopacket" "github.com/google/gopacket/layers" - "./ethernet" ) // Analyzes the given packet source diff --git a/src/ethernet/ethernet.go b/src/ethernet/ethernet.go index b7a1d42..e3165eb 100644 --- a/src/ethernet/ethernet.go +++ b/src/ethernet/ethernet.go @@ -1,11 +1,11 @@ package ethernet 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/layers" "log" - "./arp" - "./dns" ) func Analyze(source *gopacket.PacketSource) error {