mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-06-05 04:43:44 +02:00
Fix up tests
This commit is contained in:
parent
2326d6a4d7
commit
680a57faae
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue