diff options
Diffstat (limited to 'src/tools/setconf.c')
-rw-r--r-- | src/tools/setconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/setconf.c b/src/tools/setconf.c index a9787eb..a3105e1 100644 --- a/src/tools/setconf.c +++ b/src/tools/setconf.c @@ -6,7 +6,7 @@ #include <string.h> #include "config.h" -#include "kernel.h" +#include "ipc.h" #include "subcommands.h" int setconf_main(int argc, char *argv[]) @@ -45,7 +45,7 @@ int setconf_main(int argc, char *argv[]) strncpy(device->interface, argv[1], IFNAMSIZ - 1); device->interface[IFNAMSIZ - 1] = 0; - if (set_device(device) != 0) { + if (ipc_set_device(device) != 0) { perror("Unable to set device"); goto cleanup; } |