diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-01-10 17:22:37 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-01-11 12:07:28 +0100 |
commit | 5c3fa98db68fbcf1f559b16238a5aba429a56448 (patch) | |
tree | 2c981f25abac971657f88b70b2bc25b2ee09b704 /src/activate/activate.c | |
parent | 955bb7fac3bc4704b98b87206ec44e2ae464861b (diff) | |
download | systemd-5c3fa98db68fbcf1f559b16238a5aba429a56448.tar.gz |
util-lib: move things that parse ifnames to shared/
In subsequent commits, calls to if_nametoindex() will be replaced by a wrapper
that falls back to alternative name resolution over netlink. netlink support
requires libsystemd (for sd-netlink), and we don't want to add any functions
that require netlink in basic/. So stuff that calls if_nametoindex() for user
supplied interface names, and everything that depends on that, needs to be
moved.
Diffstat (limited to 'src/activate/activate.c')
-rw-r--r-- | src/activate/activate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/activate/activate.c b/src/activate/activate.c index 77b9a055ca..5d796ab38d 100644 --- a/src/activate/activate.c +++ b/src/activate/activate.c @@ -17,6 +17,7 @@ #include "pretty-print.h" #include "process-util.h" #include "signal-util.h" +#include "socket-netlink.h" #include "socket-util.h" #include "string-util.h" #include "strv.h" |