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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user