Skip to content

Commit

Permalink
fix CLI rd option ignore.
Browse files Browse the repository at this point in the history
  • Loading branch information
horseinthesky authored and Kirill 'horseinthesky' Pletnev committed Sep 6, 2023
1 parent 35bfc96 commit 155bc63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gobgp/neighbor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 155bc63

Please sign in to comment.