From 70449f1a97dbd03cd48a695ded4cc36b336491fe Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 8 Mar 2019 09:45:18 +0100 Subject: [PATCH] wintun: Return correct reboot-req flag on CreateInterface() error too Signed-off-by: Simon Rozman --- tun/wintun/wintun_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tun/wintun/wintun_windows.go b/tun/wintun/wintun_windows.go index 12fa11c..7f1bb3e 100644 --- a/tun/wintun/wintun_windows.go +++ b/tun/wintun/wintun_windows.go @@ -334,7 +334,7 @@ func CreateInterface(description string, hwndParent uintptr) (*Wintun, bool, err } } - return nil, false, err + return nil, rebootRequired, err } //