summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-06 14:50:02 +0200
committerOndrej Filip <feela@network.cz>2000-06-06 14:50:02 +0200
commita63a9ce609864e6ba3e76a1c47fd6423b532dec1 (patch)
tree83595efa47bf71659b086a095ed044506045b407 /proto/ospf
parenta00c7a18f561bf46533dac46ee56227ebdf1be08 (diff)
downloadbird-a63a9ce609864e6ba3e76a1c47fd6423b532dec1.tar
bird-a63a9ce609864e6ba3e76a1c47fd6423b532dec1.zip
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 8e59f0c..ef674a1 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,