diff options
author | Matt Dunwoodie <ncon@noconroy.net> | 2021-04-20 10:29:59 +1000 |
---|---|---|
committer | Matt Dunwoodie <ncon@noconroy.net> | 2021-04-20 10:52:36 +1000 |
commit | 971f07f189c96680c19ef8e7192a7f5199b36d62 (patch) | |
tree | e340c0dba1cb891ef88c23e9c6a9bf73f6993a35 /src/if_wg.c | |
parent | wg_noise: check keypair recvwith after nonce (diff) | |
download | wireguard-freebsd-971f07f189c96680c19ef8e7192a7f5199b36d62.tar.xz wireguard-freebsd-971f07f189c96680c19ef8e7192a7f5199b36d62.zip |
if_wg: remove unused load
Signed-off-by: Matt Dunwoodie <ncon@noconroy.net>
Diffstat (limited to '')
-rw-r--r-- | src/if_wg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/if_wg.c b/src/if_wg.c index 7b74348..aab70bd 100644 --- a/src/if_wg.c +++ b/src/if_wg.c @@ -1463,7 +1463,6 @@ wg_decrypt(struct wg_softc *sc, struct wg_packet *pkt) peer = noise_keypair_remote_arg(pkt->p_keypair); m = pkt->p_mbuf; - len = m->m_pkthdr.len; /* Read index, nonce and then adjust to remove the header. */ memcpy(&data, mtod(m, void *), sizeof(struct wg_pkt_data)); |