From 3fb9cd6ef456959b6eff939d5c316f6785c2dda4 Mon Sep 17 00:00:00 2001 From: hasso Date: Tue, 19 Oct 2004 19:44:43 +0000 Subject: OK. Here it is - PtP patch from Andrew J. Schorr. No problems with ospfd, ripd might need some more testing though. --- ospfd/ospf_vty.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ospfd/ospf_vty.c') diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index 0ecb6fb4..c84da747 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -2550,6 +2550,11 @@ show_ip_ospf_interface_sub (struct vty *vty, struct ospf *ospf, vty_out (vty, " Internet Address %s/%d,", inet_ntoa (oi->address->u.prefix4), oi->address->prefixlen); + if (oi->connected->destination) + vty_out (vty, " %s %s,", + ((ifp->flags & IFF_POINTOPOINT) ? "Peer" : "Broadcast"), + inet_ntoa (oi->connected->destination->u.prefix4)); + vty_out (vty, " Area %s%s", ospf_area_desc_string (oi->area), VTY_NEWLINE); -- cgit v1.2.1