summaryrefslogtreecommitdiff
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-06 12:50:02 +0000
committerOndrej Filip <feela@network.cz>2000-06-06 12:50:02 +0000
commita63a9ce609864e6ba3e76a1c47fd6423b532dec1 (patch)
tree83595efa47bf71659b086a095ed044506045b407 /proto/ospf
parenta00c7a18f561bf46533dac46ee56227ebdf1be08 (diff)
Better dumping neighbors' states on PTP interface.
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/neighbor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index 8e59f0c6..ef674a1e 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -509,6 +509,7 @@ ospf_sh_neigh_info(struct ospf_neighbor *n)
if(n->rid==ifa->drid) pos="dr ";
if(n->rid==ifa->bdrid) pos="bdr ";
+ if(n->ifa->type==OSPF_IT_PTP) pos="ptp ";
cli_msg(-1013,"%-18I\t%3u\t%s/%s\t%-5s\t%-18I\t%-10s",n->rid, n->priority,