From: Donald Sharp Date: Fri, 28 Apr 2017 01:51:26 +0000 (-0400) Subject: ospf6d: Fix some issues with 'show ipv6 ospf6 data..' X-Git-Tag: frr-3.0-rc0~58^2~2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=373886aba91b963111b13bf01521a7680c5ffee9;p=mirror%2Ffrr.git ospf6d: Fix some issues with 'show ipv6 ospf6 data..' 1) linkstate-id was made optional in one case 2) The ipv4 address was being looked at in the wrong spot Signed-off-by: Donald Sharp --- diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c index 036cc6d4c8..b067a66e27 100644 --- a/ospf6d/ospf6d.c +++ b/ospf6d/ospf6d.c @@ -296,7 +296,7 @@ DEFUN (show_ipv6_ospf6_database_id, "Dump LSAs\n" "Display LSA's internal information\n") { - int idx_ipv4 = 4; + int idx_ipv4 = 5; int idx_level = 6; int level; struct listnode *i, *j; @@ -388,7 +388,7 @@ DEFUN (show_ipv6_ospf6_database_router, DEFUN (show_ipv6_ospf6_database_type_id, show_ipv6_ospf6_database_type_id_cmd, - "show ipv6 ospf6 database [linkstate-id] A.B.C.D []", + "show ipv6 ospf6 database linkstate-id A.B.C.D []", SHOW_STR IPV6_STR OSPF6_STR