Show information about individual active queues

This commit is contained in:
Neil Alexander 2018-09-27 12:14:55 +01:00
parent 2674e1cb8b
commit b530916044
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
4 changed files with 27 additions and 3 deletions

View file

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