summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
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");
}