Fixed a small messup when printing logs

This commit is contained in:
Milos Gajdos 2019-10-23 20:01:45 +01:00
parent 71122836b8
commit 4f1dd3f965
No known key found for this signature in database
GPG Key ID: 8B31058CC55DFD4F

View File

@ -700,7 +700,7 @@ func (n *network) getRouteMetric(router string, gateway string, link string) int
defer n.RUnlock() defer n.RUnlock()
if link == "local" && gateway == "" { if link == "local" && gateway == "" {
log.Debugf("Network link: %s, gateway: blank", link, gateway) log.Debugf("Network link: %s, gateway: blank", link)
return 1 return 1
} }