diff options
Diffstat (limited to 'ospfd/ospf_vty.c')
-rw-r--r-- | ospfd/ospf_vty.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); |