1
0
mirror of https://github.com/fumiama/water.git synced 2026-06-08 20:20:29 +08:00

fix if name

This commit is contained in:
fumiama
2021-12-29 23:53:41 +08:00
parent ed08eb9b35
commit 82646596a4

View File

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