From 64011f898c1bc99183a57f21d6e099c8f4496a09 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 11 Feb 1999 22:45:54 +0000 Subject: struct proto again contains instance name (a copy of proto->cf->name). --- nest/iface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nest/iface.c') diff --git a/nest/iface.c b/nest/iface.c index 2b2af91..a0d4fb3 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); } -- cgit v1.2.3