diff options
author | Martin Mares <mj@ucw.cz> | 1999-12-01 11:59:24 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-12-01 11:59:24 +0000 |
commit | 5954dcfab74c8d8a2774f259c9940c1d87e76518 (patch) | |
tree | ce7d62d1eac131cd6f5a947fccec010f5247c9b1 /nest/iface.c | |
parent | afa8937ac8433a7cb430a14f7613e8d0555f1149 (diff) |
Introduced new protocol-dependent integer field `aux' to struct neighbor.
Diffstat (limited to 'nest/iface.c')
-rw-r--r-- | nest/iface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/iface.c b/nest/iface.c index a2746b17..be087ff4 100644 --- a/nest/iface.c +++ b/nest/iface.c @@ -95,6 +95,7 @@ neigh_find(struct proto *p, ip_addr *a, unsigned flags) n->sibling = NULL; n->proto = p; n->data = NULL; + n->aux = 0; n->flags = flags; return n; } @@ -107,7 +108,7 @@ neigh_dump(neighbor *n) debug("%s ", n->iface->name); else debug("[] "); - debug("%s %p", n->proto->name, n->data); + debug("%s %p %08x", n->proto->name, n->data, n->aux); if (n->flags & NEF_STICKY) debug(" STICKY"); debug("\n"); |