mirror of
https://git.zx2c4.com/wireguard-go
synced 2024-11-15 09:15:14 +01:00
wintun: Return correct reboot-req flag on CreateInterface() error too
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
33c3528430
commit
70449f1a97
@ -334,7 +334,7 @@ func CreateInterface(description string, hwndParent uintptr) (*Wintun, bool, err
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil, false, err
|
return nil, rebootRequired, err
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user