We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4439d76 commit a429ecaCopy full SHA for a429eca
1 file changed
dv/dv/router.go
@@ -358,15 +358,10 @@ func (dv *Router) createFaces() {
358
dv.mutex.Unlock()
359
360
// Add neighbor to localhop neighbors
361
- dv.nfdc.Exec(nfdc.NfdMgmtCmd{
362
- Module: "fib",
363
- Cmd: "add-nexthop",
364
- Args: &mgmt.ControlArgs{
365
- Name: neighborsPrefix.Clone(),
366
- Cost: optional.Some(uint64(1)),
367
- FaceId: optional.Some(faceId),
368
- },
369
- Retries: 3,
+ dv.execMgmtRetry("fib", "add-nexthop", &mgmt.ControlArgs{
+ Name: neighborsPrefix.Clone(),
+ Cost: optional.Some(uint64(1)),
+ FaceId: optional.Some(faceId),
370
})
371
}
372
0 commit comments