diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-11-25 11:13:25 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-11-26 11:33:33 +0100 |
commit | c2b7c2d77b6b26f8613018605b50c4ccb83c7e85 (patch) | |
tree | 98820d1a119502bdf551319160b719ec041129fa /src | |
parent | c686043b3a504208fb36ee935055c68ff210eac6 (diff) |
socket: remove redundant check of new4
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c index d4f65bb..f9a06a3 100644 --- a/src/socket.c +++ b/src/socket.c @@ -410,7 +410,7 @@ retry: } #endif - wg_socket_reinit(wg, new4 ? new4->sk : NULL, new6 ? new6->sk : NULL); + wg_socket_reinit(wg, new4->sk, new6 ? new6->sk : NULL); return 0; } |