summaryrefslogtreecommitdiffstats
path: root/src/protocols/ec25519_fhmqvc
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-03-23 00:38:14 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-03-23 01:04:53 +0100
commit08e782b27d47c4b5e74d505aecfee661ff9df4e0 (patch)
tree8b0559e734ffad045db6ab11141e2ae9a8a97b8a /src/protocols/ec25519_fhmqvc
parent9a4b384053edf673f97dc60d82e1d897a70bd293 (diff)
downloadfastd-08e782b27d47c4b5e74d505aecfee661ff9df4e0.tar
fastd-08e782b27d47c4b5e74d505aecfee661ff9df4e0.zip
Set the default interface for all peers
Diffstat (limited to 'src/protocols/ec25519_fhmqvc')
-rw-r--r--src/protocols/ec25519_fhmqvc/handshake.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocols/ec25519_fhmqvc/handshake.c b/src/protocols/ec25519_fhmqvc/handshake.c
index 27e4894..246336b 100644
--- a/src/protocols/ec25519_fhmqvc/handshake.c
+++ b/src/protocols/ec25519_fhmqvc/handshake.c
@@ -562,6 +562,7 @@ static fastd_peer_t * add_dynamic(fastd_socket_t *sock, const fastd_peer_address
fastd_peer_t *peer = fastd_new0(fastd_peer_t);
peer->group = conf.peer_group;
+ peer->iface = ctx.iface;
peer->config_state = CONFIG_DYNAMIC;
peer->key = fastd_new(fastd_protocol_key_t);