From a6dbe4f4754de333a7ab4df6549d681edbb297fd Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 17 May 2019 16:06:02 +0200 Subject: wintun: don't try to flush interface, but rather delete --- tun/wintun/wintun_windows.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tun/wintun/wintun_windows.go') 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 @@ -470,15 +470,6 @@ func (wintun *Wintun) DeleteInterface(hwndParent uintptr) (bool, bool, error) { return false, false, nil } -// -// 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. // -- cgit v1.2.3