summaryrefslogtreecommitdiffhomepage
path: root/src/device.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/device.c
parent1eded2e80094d3419bea64bc10e92df471e4ead7 (diff)
socket: use dst_cache instead of handrolled cache
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index dad5521..41df285 100644
--- a/src/device.c
+++ b/src/device.c
@@ -37,7 +37,6 @@ static void uninit(struct net_device *dev)
static int open_peer(struct wireguard_peer *peer, void *data)
{
- socket_set_peer_dst(peer);
timers_init_peer(peer);
packet_send_queue(peer);
if (peer->persistent_keepalive_interval)