summaryrefslogtreecommitdiffhomepage
path: root/src/config.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-11-04 03:11:21 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-11-04 03:11:21 +0100
commit4db38d808daaa1a5ba79f87018a4e7240e1a331e (patch)
tree672cf583753233fae57052863126905c515fac36 /src/config.c
parent1eded2e80094d3419bea64bc10e92df471e4ead7 (diff)
socket: use dst_cache instead of handrolled cache
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 7f217ff..a98ecd9 100644
--- a/src/config.c
+++ b/src/config.c
@@ -11,7 +11,7 @@
static int set_peer_dst(struct wireguard_peer *peer, void *data)
{
- socket_set_peer_dst(peer);
+ dst_cache_reset(&peer->endpoint_cache);
return 0;
}