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
}
//