From 0a494a01a97e51cca2f889ad2cd46e413927f979 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 20 Jul 2016 21:24:27 +0200 Subject: tools: rename kernel to ipc --- src/tools/showconf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tools/showconf.c') diff --git a/src/tools/showconf.c b/src/tools/showconf.c index 68084c0..75d78e0 100644 --- a/src/tools/showconf.c +++ b/src/tools/showconf.c @@ -12,7 +12,7 @@ #include "subcommands.h" #include "base64.h" -#include "kernel.h" +#include "ipc.h" #include "../uapi.h" int showconf_main(int argc, char *argv[]) @@ -31,13 +31,13 @@ int showconf_main(int argc, char *argv[]) return 1; } - if (!has_wireguard_interface(argv[1])) { + if (!ipc_has_device(argv[1])) { fprintf(stderr, "`%s` is not a valid WireGuard interface\n", argv[1]); fprintf(stderr, "Usage: %s %s \n", PROG_NAME, argv[0]); return 1; } - if (get_device(&device, argv[1])) { + if (ipc_get_device(&device, argv[1])) { perror("Unable to get device"); goto cleanup; } -- cgit v1.2.3-59-g8ed1b