summaryrefslogtreecommitdiff
path: root/src/tun.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-01 23:29:22 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-01 23:29:22 +0200
commit1e620427bd01b1e897c57752359f7dbb28e34bff (patch)
treef525ee38fec7826b07060271dcc06601f992612d /src/tun.go
parenta4cc0a30faa64c2c293c589d98e4ba7390e56fda (diff)
downloadwireguard-go-1e620427bd01b1e897c57752359f7dbb28e34bff.tar.gz
wireguard-go-1e620427bd01b1e897c57752359f7dbb28e34bff.zip
Handshake negotiation functioning
Diffstat (limited to 'src/tun.go')
-rw-r--r--src/tun.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tun.go b/src/tun.go
index 594754a..60732c4 100644
--- a/src/tun.go
+++ b/src/tun.go
@@ -4,5 +4,5 @@ type TUNDevice interface {
Read([]byte) (int, error)
Write([]byte) (int, error)
Name() string
- MTU() uint
+ MTU() int
}