aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/main.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-11-29 22:42:42 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-11-29 22:42:42 +0100
commit210845cb0716ec46ace66cde4f33e64a29b4e497 (patch)
tree42e1dfda646b4709459a1d5f6afcb77d36849d31 /src/main.c
parentdevice: clear last handshake timer on ifdown (diff)
downloadwireguard-monolithic-historical-210845cb0716ec46ace66cde4f33e64a29b4e497.tar.xz
wireguard-monolithic-historical-210845cb0716ec46ace66cde4f33e64a29b4e497.zip
netlink: rename symbol to avoid clashes
At somepoint we may need to wg_ namespace these.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index be5a42b..fea8c65 100644
--- a/src/main.c
+++ b/src/main.c
@@ -34,7 +34,7 @@ static int __init mod_init(void)
if (ret < 0)
goto err_packet;
- ret = netlink_init();
+ ret = genetlink_init();
if (ret < 0)
goto err_netlink;
@@ -51,7 +51,7 @@ err_packet:
static void __exit mod_exit(void)
{
- netlink_uninit();
+ genetlink_uninit();
device_uninit();
pr_debug("WireGuard unloaded\n");
}