summaryrefslogtreecommitdiffhomepage
path: root/src/helper_test.go
diff options
context:
space:
mode:
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) {