summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@majklik.network.cz>2010-01-07 22:54:39 +0100
committerOndrej Filip <feela@majklik.network.cz>2010-01-07 22:54:39 +0100
commit3127b81755de4a09475df71072964e292c6994a7 (patch)
treef2372667d1dccad485272d650432c843d18eafdf /proto/ospf
parentcf0858c2174c6bf0a4f63b914d06a2342c433b09 (diff)
downloadbird-3127b81755de4a09475df71072964e292c6994a7.tar
bird-3127b81755de4a09475df71072964e292c6994a7.zip
Be a little bit more verbose on virtual links.
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/iface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index e514a5d..e6cdd1f 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -608,6 +608,8 @@ ospf_iface_info(struct ospf_iface *ifa)
cli_msg(-1015, "Virtual link to %R:", ifa->vid);
cli_msg(-1015, "\tTransit area: %R (%u)", ifa->voa->areaid,
ifa->voa->areaid);
+ cli_msg(-1015, "\tInterface: \"%s\"",
+ (ifa->iface ? ifa->iface->name : "(none)"));
}
else
{