Fixed link quality
This commit is contained in:
parent
d9635e0751
commit
ac5ed68bb7
4
main.go
4
main.go
@ -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,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user