summaryrefslogtreecommitdiffhomepage
path: root/src/helper_test.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-12 23:11:49 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-12 23:11:49 +0200
commit8393cbff521560caef5b1b468cbb2ad030e8eda4 (patch)
tree7fb701a023beb36780eebded65d4915ff196925d /src/helper_test.go
parent86707cbc88fbad58481b400eaf12fa75c78f9855 (diff)
Restructured MAC/cookie calculation
Added copy-right headers accidentally removed
Diffstat (limited to 'src/helper_test.go')
-rw-r--r--src/helper_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper_test.go b/src/helper_test.go
index 6d85771..3838a7c 100644
--- a/src/helper_test.go
+++ b/src/helper_test.go
@@ -18,8 +18,8 @@ func (tun *DummyTUN) Name() string {
return tun.name
}
-func (tun *DummyTUN) MTU() int {
- return tun.mtu
+func (tun *DummyTUN) MTU() (int, error) {
+ return tun.mtu, nil
}
func (tun *DummyTUN) Write(d []byte) (int, error) {