summaryrefslogtreecommitdiffhomepage
path: root/src/socket.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-07-21 17:18:19 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-07-21 17:18:19 +0200
commit29a29f13435bb7dd8be04c4c3138ce2b76a082e9 (patch)
tree59015c88d43b4b4d8412beea83437951a97736f9 /src/socket.c
parente03350e0a437a10fb859a556d5adf23b257da409 (diff)
socket: simpler debug message
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socket.c b/src/socket.c
index 463e027..e52218e 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -443,7 +443,7 @@ int socket_init(struct wireguard_device *wg)
ret = udp_sock_create(wg->creating_net, &port4, &new4);
if (ret < 0) {
- pr_err("Could not create outgoing IPv4 socket\n");
+ pr_err("Could not create IPv4 socket\n");
goto out;
}
@@ -464,7 +464,7 @@ int socket_init(struct wireguard_device *wg)
wg->creating_net->ipv6.sysctl.bindv6only = old_bindv6only;
#endif
if (ret < 0) {
- pr_err("Could not create outgoing IPv6 socket\n");
+ pr_err("Could not create IPv6 socket\n");
udp_tunnel_sock_release(new4);
goto out;
}