fix CLI rd option ignore.

This commit is contained in:
Kirill Pletnev
2023-09-06 08:02:09 +00:00
committed by Kirill 'horseinthesky' Pletnev
parent 35bfc9605c
commit 155bc636cd
+1 -1
View File
@@ -904,7 +904,7 @@ func showNeighborRib(r string, name string, args []string) error {
}
args = args[1:]
rd := args[0]
rd = args[0]
_, err = bgp.ParseRouteDistinguisher(rd)
if err != nil {
return err