mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 02:43:41 +00:00
ospf6d: Router-ID filter is not filtering the show command "do show ipv6 ospf6 neighbour A.B.C.D"
Compare the neighbour id string from the arguments to the router_id of the neighbor. If equal then call the show function. Signed-off-by: Yash Ranjan <ranjany@vmware.com>
This commit is contained in:
parent
057edd2e84
commit
786b76d03a
@ -1075,9 +1075,10 @@ DEFUN (show_ipv6_ospf6_neighbor_one,
|
|||||||
|
|
||||||
for (ALL_LIST_ELEMENTS_RO(ospf6->area_list, i, oa))
|
for (ALL_LIST_ELEMENTS_RO(ospf6->area_list, i, oa))
|
||||||
for (ALL_LIST_ELEMENTS_RO(oa->if_list, j, oi))
|
for (ALL_LIST_ELEMENTS_RO(oa->if_list, j, oi))
|
||||||
for (ALL_LIST_ELEMENTS_RO(oi->neighbor_list, k, on))
|
for (ALL_LIST_ELEMENTS_RO(oi->neighbor_list, k, on)) {
|
||||||
|
if (router_id == on->router_id)
|
||||||
(*showfunc)(vty, on, json, uj);
|
(*showfunc)(vty, on, json, uj);
|
||||||
|
}
|
||||||
|
|
||||||
if (uj) {
|
if (uj) {
|
||||||
vty_out(vty, "%s\n",
|
vty_out(vty, "%s\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user