From 15fbb0adbd228d40b9fafab937054f68ed2d4a16 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 8 Oct 2012 01:16:01 +0200 Subject: Handle disappearing interfaces --- ffd/ffd.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ffd/ffd.h') diff --git a/ffd/ffd.h b/ffd/ffd.h index 9bd0d2c..4199000 100644 --- a/ffd/ffd.h +++ b/ffd/ffd.h @@ -91,10 +91,9 @@ typedef struct _ffd_announce_t { typedef struct _ffd_neigh_t { struct _ffd_neigh_t *next; - unsigned nexthop_refs; + unsigned ref; - /* for actual routing, we'd also have to link back to the iface - this neighbour belongs to */ + struct _ffd_iface_t *iface; eth_addr_t addr; uint16_t hello_log; -- cgit v1.2.3