summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fastd.h b/src/fastd.h
index c2b85de..b7f3532 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -31,6 +31,7 @@
#include "buffer.h"
#include "log.h"
#include "shell.h"
+#include "vector.h"
#include <errno.h>
#include <stdarg.h>
@@ -261,9 +262,7 @@ struct fastd_context {
fastd_stats_t tx_dropped;
fastd_stats_t tx_error;
- size_t eth_addr_size;
- size_t n_eth_addr;
- fastd_peer_eth_addr_t *eth_addr;
+ VECTOR(fastd_peer_eth_addr_t) eth_addrs;
unsigned int randseed;