summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-02-24 00:23:19 +0100
committerOndrej Filip <feela@network.cz>2000-02-24 00:23:19 +0100
commitea28da044af9a35407724ba091d9a823c1cfe7e7 (patch)
tree23097494f9abefcf6e359a778383dc2197ccd06e /proto/ospf
parent91808fffc22e37b6d558f22db911ad0a3277d694 (diff)
downloadbird-ea28da044af9a35407724ba091d9a823c1cfe7e7.tar
bird-ea28da044af9a35407724ba091d9a823c1cfe7e7.zip
Small change for debugging.
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/iface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index c240fb7..0ee5e68 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -177,6 +177,7 @@ u8
ospf_iface_clasify(struct iface *ifa, struct proto *p)
{
/* FIXME: Latter I'll use config - this is incorrect */
+ DBG("%s: Iface flags=%x.\n", p->name, ifa->flags);
if((ifa->flags & (IF_MULTIACCESS|IF_MULTICAST))==
(IF_MULTIACCESS|IF_MULTICAST))
{
@@ -244,7 +245,7 @@ ospf_iface_default(struct ospf_iface *ifa)
ifa->drid=0;
ifa->bdrip=ipa_from_u32(0x00000000);
ifa->bdrid=0;
- ifa->type=ospf_iface_clasify(ifa->iface, ifa->proto);
+ ifa->type=ospf_iface_clasify(ifa->iface, (struct proto *)ifa->proto);
}
struct ospf_iface*