From b0d086011fce5f23b648c0c4728d0b74f6e277a3 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 13 Mar 2015 13:03:18 +0300 Subject: [PATCH] Fixed path to working water-library Thanks to Martin G (https://github.com/martingartonft) for pointing this out! Signed-off-by: Sergey Matveev --- makefile | 1 + tap_linux.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index d6bed1c..b1e4229 100644 --- a/makefile +++ b/makefile @@ -6,6 +6,7 @@ LDFLAGS=-X govpn.Version $(VERSION) all: govpn-client govpn-server dependencies: + [ "$(shell uname)" = FreeBSD ] || go get github.com/bigeagle/water go get golang.org/x/crypto/poly1305 go get golang.org/x/crypto/salsa20 go get golang.org/x/crypto/xtea diff --git a/tap_linux.go b/tap_linux.go index 938a3b5..d3f2de3 100644 --- a/tap_linux.go +++ b/tap_linux.go @@ -10,7 +10,7 @@ package govpn import ( "io" - "github.com/chon219/water" + "github.com/bigeagle/water" ) func newTAPer(string ifaceName) (io.ReadWriteCloser, error) { -- 2.48.1