Fix up tests

This commit is contained in:
Jason A. Donenfeld 2018-05-13 19:35:11 +02:00
parent 2326d6a4d7
commit 680a57faae

View file

@ -25,8 +25,8 @@ func (tun *DummyTUN) File() *os.File {
return nil return nil
} }
func (tun *DummyTUN) Name() string { func (tun *DummyTUN) Name() (string, error) {
return tun.name return tun.name, nil
} }
func (tun *DummyTUN) MTU() (int, error) { func (tun *DummyTUN) MTU() (int, error) {