The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/5091
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Closes #5090. Signed-off-by: Christian Brauner <[email protected]>
From 4445fb50ad94a1bd767d398459cbf05e7ec1e5af Mon Sep 17 00:00:00 2001 From: Christian Brauner <[email protected]> Date: Mon, 1 Oct 2018 11:35:12 +0200 Subject: [PATCH] network: provide #ifdefs for RTM_* requests Closes #5090. Signed-off-by: Christian Brauner <[email protected]> --- shared/network.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/shared/network.c b/shared/network.c index 7725ef7333..c882b7aa2b 100644 --- a/shared/network.c +++ b/shared/network.c @@ -24,6 +24,14 @@ ((struct rtattr *)(((char *)(r)) + NLMSG_ALIGN(sizeof(struct rtgenmsg)))) #endif +#ifndef RTM_GETLINK +#define RTM_GETLINK 18 +#endif + +#ifndef RTM_GETNSID +#define RTM_GETNSID 90 +#endif + #ifdef IFLA_IF_NETNSID #ifndef IFLA_TARGET_NETNSID #define IFLA_TARGET_NETNSID = IFLA_IF_NETNSID
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
