summaryrefslogtreecommitdiffhomepage
path: root/tun/wintun/wintun_windows.go
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-03-08 09:45:18 +0100
committerSimon Rozman <simon@rozman.si>2019-03-08 10:03:57 +0100
commit70449f1a97dbd03cd48a695ded4cc36b336491fe (patch)
tree2031e1a846878c7da7152c89a4b71ed83170aab3 /tun/wintun/wintun_windows.go
parent33c35284305e0c70e014bac2bcc3eada070aba26 (diff)
wintun: Return correct reboot-req flag on CreateInterface() error too
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'tun/wintun/wintun_windows.go')
-rw-r--r--tun/wintun/wintun_windows.go2
1 files changed, 1 insertions, 1 deletions
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
}
//