From d308bb99d20b45fed1923ed6b893a59dbac02eca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 11 Jan 2020 11:21:01 +0100 Subject: Resolve alternative ifnames wherever we would resolve an interface name To keep the names manageable, "ifname_or_ifindex" is replaced by "interface". --- src/shared/socket-netlink.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/socket-netlink.h') diff --git a/src/shared/socket-netlink.h b/src/shared/socket-netlink.h index d389857242..fa58409d61 100644 --- a/src/shared/socket-netlink.h +++ b/src/shared/socket-netlink.h @@ -8,6 +8,8 @@ #include "socket-util.h" int resolve_ifname(sd_netlink **rtnl, const char *name); +int resolve_interface(sd_netlink **rtnl, const char *name); +int resolve_interface_or_warn(sd_netlink **rtnl, const char *name); int make_socket_fd(int log_level, const char* address, int type, int flags); -- cgit v1.2.1