summaryrefslogtreecommitdiffstats
path: root/ffd/ffd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-10-08 01:16:01 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-10-08 01:16:01 +0200
commit15fbb0adbd228d40b9fafab937054f68ed2d4a16 (patch)
tree83ed99ff67f14c3b612250096e623825dcceda01 /ffd/ffd.h
parenta934dcc3ce78b22a0ff4db5d353a3d8dcc2b5f1d (diff)
downloadffd-15fbb0adbd228d40b9fafab937054f68ed2d4a16.tar
ffd-15fbb0adbd228d40b9fafab937054f68ed2d4a16.zip
Handle disappearing interfaces
Diffstat (limited to 'ffd/ffd.h')
-rw-r--r--ffd/ffd.h5
1 files changed, 2 insertions, 3 deletions
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;