Fixed link quality
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Stefan Hoffmann 2021-02-06 11:53:43 +01:00
parent d9635e0751
commit ac5ed68bb7

View File

@ -498,8 +498,8 @@ func ucAddLink(dev device, links []link) []link {
Type: "cable", Type: "cable",
Source: strings.ReplaceAll(dev.MAC, ":", ""), Source: strings.ReplaceAll(dev.MAC, ":", ""),
Target: strings.ReplaceAll(dev.GatewayNexthop, ":", ""), Target: strings.ReplaceAll(dev.GatewayNexthop, ":", ""),
SourceTQ: 100, SourceTQ: 1,
TargetTQ: 100, TargetTQ: 1,
SourceAddr: dev.MAC, SourceAddr: dev.MAC,
TargetAddr: dev.LinkedTo, TargetAddr: dev.LinkedTo,
}) })