Skip to content

Commit

Permalink
ospf6d: add "priority" field to "show ipv6 ospf6 neighbor detail json"
Browse files Browse the repository at this point in the history
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
  • Loading branch information
rwestphal committed Nov 4, 2021
1 parent a8be69c commit b6b7c17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ospf6d/ospf6_neighbor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,7 @@ static void ospf6_neighbor_show_detail(struct vty *vty,
"routerDeadIntervalTimerDueMsec",
time_store);
}
json_object_int_add(json_neighbor, "priority", on->priority);
json_object_string_add(json_neighbor, "neighborDRouter",
drouter);
json_object_string_add(json_neighbor, "neighborBdRouter",
Expand Down

0 comments on commit b6b7c17

Please sign in to comment.