From 44cb17317c40fa9d39b3402f0826006f20387be5 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 6 Jan 2019 07:20:08 +0100 Subject: Implement simple setting of link state and IP addresses --- src/neco.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/neco.c') diff --git a/src/neco.c b/src/neco.c index 942ba2f..4e4d297 100644 --- a/src/neco.c +++ b/src/neco.c @@ -1,6 +1,13 @@ #include "config-load.h" +#include "netlink.h" int main(int argc, char *argv[]) { + if (!nl_init()) + return 1; + read_config(argv[1]); + + nl_deinit(); + return 0; } -- cgit v1.2.3