Add MTU to connection status

This commit is contained in:
Bryan Boreham committed 2016-12-09 13:59:49 +00:00
1 parent d501c78795
commit 9c2bc0b825
8 files changed
+17 -13

No files matched your search

+3 -3
View File
@@ -424,7 +424,7 @@ func (fwd *overlaySwitchForwarder) ControlMessage(tag byte, msg []byte) {
}
}
func (fwd *overlaySwitchForwarder) DisplayName() string {
func (fwd *overlaySwitchForwarder) Attrs() map[string]interface{} {
var best OverlayForwarder
fwd.lock.Lock()
@@ -434,8 +434,8 @@ func (fwd *overlaySwitchForwarder) DisplayName() string {
fwd.lock.Unlock()
if best != nil {
return best.DisplayName()
return best.Attrs()
}
return "none"
return nil
}