diff options
Diffstat (limited to 'ospf6d')
-rw-r--r-- | ospf6d/ospf6d.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c index 7a766c8d..bb091d4f 100644 --- a/ospf6d/ospf6d.c +++ b/ospf6d/ospf6d.c @@ -1647,6 +1647,12 @@ DEFUN (show_ipv6_ospf6_border_routers, ospf6_linkstate_prefix (adv_router, 0, &prefix); ro = ospf6_route_lookup (&prefix, ospf6->brouter_table); + if (!ro) + { + vty_out (vty, "No Route found for Router ID: %s%s", argv[0], VNL); + return CMD_SUCCESS; + } + ospf6_route_show_detail (vty, ro); return CMD_SUCCESS; } |