misc fixes

This commit is contained in:
Arceliar 2019-03-09 18:08:26 -06:00
parent f38963c71b
commit c7b4bfcef5
2 changed files with 16 additions and 7 deletions

View file

@ -677,12 +677,12 @@ func (t *switchTable) handleIn(packet []byte, idle map[switchPort]struct{}) bool
//nothing
case coordLen < bestCoordLen:
update = true
/*
case coordLen > bestCoordLen:
//nothing
case port < best.port:
update = true
*/
/*
case coordLen > bestCoordLen:
//nothing
case port < best.port:
update = true
*/
default:
//nothing
}