Fixed a small messup when printing logs
This commit is contained in:
parent
71122836b8
commit
4f1dd3f965
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user