From 82646596a42703181f7e50f54e6f0aaeaf63c1f1 Mon Sep 17 00:00:00 2001 From: fumiama Date: Wed, 29 Dec 2021 23:53:41 +0800 Subject: [PATCH] fix if name --- syscalls_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syscalls_windows.go b/syscalls_windows.go index 15f1fc1..4908d4f 100644 --- a/syscalls_windows.go +++ b/syscalls_windows.go @@ -382,5 +382,5 @@ func openDev(config Config) (ifce *Interface, err error) { ad.Close() return } - return &Interface{ReadWriteCloser: &wintunRWC{s: s, ad: *ad, readwait: s.ReadWaitEvent()}, name: config.ComponentID + " Tunnel"}, nil + return &Interface{ReadWriteCloser: &wintunRWC{s: s, ad: *ad, readwait: s.ReadWaitEvent()}, name: config.InterfaceName}, nil }