diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-11-11 22:35:07 -0500 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-11-13 00:34:16 -0800 |
commit | 87611c1f178ba59b682801574e930e5229fc2d2f (patch) | |
tree | c98bb2dcdbfdc3af95ad04c7e3cc817d4a136291 /src/receive.c | |
parent | wg-quick: android: do not choke on empty allowed-ips (diff) | |
download | wireguard-monolithic-historical-87611c1f178ba59b682801574e930e5229fc2d2f.tar.xz wireguard-monolithic-historical-87611c1f178ba59b682801574e930e5229fc2d2f.zip |
global: various formatting tweeks
Diffstat (limited to '')
-rw-r--r-- | src/receive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/receive.c b/src/receive.c index 5417ab9..09ff506 100644 --- a/src/receive.c +++ b/src/receive.c @@ -85,7 +85,7 @@ static int prepare_skb_header(struct sk_buff *skb, struct wg_device *wg) return -EINVAL; skb_pull(skb, data_offset); if (unlikely(skb->len != data_len)) - /* Final len does not agree with calculated len */ + /* Final len does not agree with calculated len */ return -EINVAL; header_len = validate_header_len(skb); if (unlikely(!header_len)) @@ -179,7 +179,7 @@ static void wg_receive_handshake_packet(struct wg_device *wg, wg->dev->name, peer->internal_id, &peer->endpoint.addr); if (wg_noise_handshake_begin_session(&peer->handshake, - &peer->keypairs)) { + &peer->keypairs)) { wg_timers_session_derived(peer); wg_timers_handshake_complete(peer); /* Calling this function will either send any existing |