mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Show information about individual active queues
This commit is contained in:
parent
2674e1cb8b
commit
b530916044
4 changed files with 27 additions and 3 deletions
|
@ -162,8 +162,8 @@ func (iface *tcpInterface) call(saddr string, socksaddr *string, sintf string) {
|
|||
if sintf != "" {
|
||||
ief, err := net.InterfaceByName(sintf)
|
||||
if err == nil {
|
||||
if ief.Flags & net.FlagUp == 0 {
|
||||
return
|
||||
if ief.Flags&net.FlagUp == 0 {
|
||||
return
|
||||
}
|
||||
addrs, err := ief.Addrs()
|
||||
if err == nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue