diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2019-01-06 07:20:08 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2019-01-06 07:20:08 +0100 |
commit | 44cb17317c40fa9d39b3402f0826006f20387be5 (patch) | |
tree | 54e9d8c49ec41b2d7fd953457ca51545182a779e /src/neco.c | |
parent | b4bdc797028a3789bb5e0c68bc428bfd54bd200e (diff) | |
download | neco-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.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; } |