summaryrefslogtreecommitdiffstats
path: root/src/neco.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2019-01-06 07:20:08 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2019-01-06 07:20:08 +0100
commit44cb17317c40fa9d39b3402f0826006f20387be5 (patch)
tree54e9d8c49ec41b2d7fd953457ca51545182a779e /src/neco.c
parentb4bdc797028a3789bb5e0c68bc428bfd54bd200e (diff)
downloadneco-44cb17317c40fa9d39b3402f0826006f20387be5.tar
neco-44cb17317c40fa9d39b3402f0826006f20387be5.zip
Implement simple setting of link state and IP addresses
Diffstat (limited to 'src/neco.c')
-rw-r--r--src/neco.c7
1 files changed, 7 insertions, 0 deletions
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;
}