summaryrefslogtreecommitdiff
path: root/src/core/dbus-socket.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-01-10 17:22:37 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-01-11 12:07:28 +0100
commit5c3fa98db68fbcf1f559b16238a5aba429a56448 (patch)
tree2c981f25abac971657f88b70b2bc25b2ee09b704 /src/core/dbus-socket.c
parent955bb7fac3bc4704b98b87206ec44e2ae464861b (diff)
downloadsystemd-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/core/dbus-socket.c')
-rw-r--r--src/core/dbus-socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/dbus-socket.c b/src/core/dbus-socket.c
index 25d3d71391..c8253c7940 100644
--- a/src/core/dbus-socket.c
+++ b/src/core/dbus-socket.c
@@ -12,6 +12,7 @@
#include "parse-util.h"
#include "path-util.h"
#include "socket.h"
+#include "socket-netlink.h"
#include "socket-util.h"
#include "string-util.h"
#include "unit.h"