Closed zh4n7wm closed 8 years ago
fixed: replace bigeagle/water
with songgao/water
$ git diff | cat -
diff --git a/hop/client.go b/hop/client.go
index 98330e3..ea7a0ed 100644
--- a/hop/client.go
+++ b/hop/client.go
@@ -32,7 +32,7 @@ import (
"syscall"
"time"
- "github.com/bigeagle/water"
+ "github.com/songgao/water"
)
var net_gateway, net_nic string
diff --git a/hop/config.go b/hop/config.go
index 88eceb0..c5e0e50 100644
--- a/hop/config.go
+++ b/hop/config.go
@@ -3,7 +3,7 @@ package hop
import (
"errors"
- "code.google.com/p/gcfg"
+ "gopkg.in/gcfg.v1"
)
// Server Config
diff --git a/hop/iface.go b/hop/iface.go
index 5ac2e4e..3ba71aa 100644
--- a/hop/iface.go
+++ b/hop/iface.go
@@ -31,7 +31,7 @@ import (
"strconv"
"strings"
- "github.com/bigeagle/water"
+ "github.com/songgao/water"
)
var invalidAddr = errors.New("Invalid device ip address")
diff --git a/hop/server.go b/hop/server.go
index e522762..7d82aa0 100644
--- a/hop/server.go
+++ b/hop/server.go
@@ -32,8 +32,8 @@ import (
"syscall"
"time"
- "github.com/bigeagle/water"
- "github.com/bigeagle/water/waterutil"
+ "github.com/songgao/water"
+ "github.com/songgao/water/waterutil"
)
// a udpPacket
Hi, thanks for the patch. Do you mind sending a pull request?
Hello, I've sent a pull request: https://github.com/ox0spy/gohop/commit/e68425556224a9d474b02790b21a4eeaa956ac6c
Do these changes mean that gohop runs on Mac now? Are any special configuration settings needed? I'd like to try it.
get gohop
fix:
re-run go get