]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Be a little bit more verbose on virtual links.
authorOndrej Filip <feela@majklik.network.cz>
Thu, 7 Jan 2010 21:54:39 +0000 (22:54 +0100)
committerOndrej Filip <feela@majklik.network.cz>
Thu, 7 Jan 2010 21:54:39 +0000 (22:54 +0100)
proto/ospf/iface.c

index e514a5d59ecdb8d8452f14531ef777364e0ce393..e6cdd1f222640e2cd0f7df48b73532421df45ed4 100644 (file)
@@ -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
   {