diff --git a/router/overlay_switch.go b/router/overlay_switch.go index 48296459..61f4202e 100644 --- a/router/overlay_switch.go +++ b/router/overlay_switch.go @@ -424,7 +424,7 @@ func (fwd *overlaySwitchForwarder) DisplayName() string { var best OverlayForwarder fwd.lock.Lock() - if fwd.best > 0 { + if fwd.best >= 0 { best = fwd.forwarders[fwd.best].fwd } fwd.lock.Unlock()