1
0
mirror of https://git.zx2c4.com/wireguard-go synced 2024-11-15 01:05:15 +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:
Simon Rozman 2019-03-08 09:45:18 +01:00
parent 33c3528430
commit 70449f1a97

View File

@ -334,7 +334,7 @@ func CreateInterface(description string, hwndParent uintptr) (*Wintun, bool, err
}
}
return nil, false, err
return nil, rebootRequired, err
}
//