From c1e57dc4bd84864f6d576380f5e104e33270bc2d Mon Sep 17 00:00:00 2001 From: Francois Dumontet Date: Thu, 7 Mar 2024 14:33:37 +0100 Subject: ospf6d: add localLinkLocalAddress field add localIfaceAdress field in show ipv6 ospf6 neighbor detail json command. Signed-off-by: Francois Dumontet Signed-off-by: Louis Scalbert --- ospf6d/ospf6_neighbor.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ospf6d') diff --git a/ospf6d/ospf6_neighbor.c b/ospf6d/ospf6_neighbor.c index a6089b264..8b7afd89a 100644 --- a/ospf6d/ospf6_neighbor.c +++ b/ospf6d/ospf6_neighbor.c @@ -1004,6 +1004,8 @@ static void ospf6_neighbor_show_detail(struct vty *vty, on->ospf6_if->interface->ifindex); json_object_int_add(json_neighbor, "neighborInterfaceIndex", on->ifindex); + json_object_string_addf(json_neighbor, "localLinkLocalAddress", + "%pI6", on->ospf6_if->linklocal_addr); json_object_string_add(json_neighbor, "linkLocalAddress", linklocal_addr); json_object_string_add(json_neighbor, "neighborState", -- cgit v1.2.3