summaryrefslogtreecommitdiffhomepage
path: root/tun/wintun
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-17 16:06:02 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-17 16:06:02 +0200
commita6dbe4f4754de333a7ab4df6549d681edbb297fd (patch)
tree729056e339f5d90b1c806d2479a9667e0198bfa7 /tun/wintun
parentc718f3940d6546f83cc14c4f121d52470a705c31 (diff)
wintun: don't try to flush interface, but rather delete
Diffstat (limited to 'tun/wintun')
-rw-r--r--tun/wintun/wintun_windows.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/tun/wintun/wintun_windows.go b/tun/wintun/wintun_windows.go
index 6d9c676..1eb0dd2 100644
--- a/tun/wintun/wintun_windows.go
+++ b/tun/wintun/wintun_windows.go
@@ -471,15 +471,6 @@ func (wintun *Wintun) DeleteInterface(hwndParent uintptr) (bool, bool, error) {
}
//
-// FlushInterface removes all properties from the interface and gives it only a very
-// vanilla IPv4 and IPv6 configuration with no addresses of any sort assigned.
-//
-func (wintun *Wintun) FlushInterface() error {
- //TODO: implement me!
- return nil
-}
-
-//
// checkReboot checks device install parameters if a system reboot is required.
//
func checkReboot(deviceInfoSet setupapi.DevInfo, deviceInfoData *setupapi.DevInfoData) (bool, error) {