summaryrefslogtreecommitdiff
path: root/nest/iface.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-02-11 22:45:54 +0000
committerMartin Mares <mj@ucw.cz>1999-02-11 22:45:54 +0000
commit64011f898c1bc99183a57f21d6e099c8f4496a09 (patch)
tree5c76fb9b991b1682108d28848b92b6d0a614379e /nest/iface.c
parent3b15402fd4055cb5bd66cd9ac1106ceecff9f760 (diff)
struct proto again contains instance name (a copy of proto->cf->name).
Diffstat (limited to 'nest/iface.c')
-rw-r--r--nest/iface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/iface.c b/nest/iface.c
index 2b2af915..a0d4fb3f 100644
--- a/nest/iface.c
+++ b/nest/iface.c
@@ -101,7 +101,7 @@ neigh_dump(neighbor *n)
debug("%s ", n->iface->name);
else
debug("[] ");
- debug("%s %p", n->proto->cf->name, n->data);
+ debug("%s %p", n->proto->name, n->data);
if (n->flags & NEF_STICKY)
debug(" STICKY");
debug("\n");
@@ -319,7 +319,7 @@ if_feed_baby(struct proto *p)
if (!p->if_notify)
return;
- debug("Announcing interfaces to new protocol %s\n", p->cf->name);
+ debug("Announcing interfaces to new protocol %s\n", p->name);
WALK_LIST(i, iface_list)
p->if_notify(p, IF_CHANGE_CREATE | ((i->flags & IF_UP) ? IF_CHANGE_UP : 0), NULL, i);
}