mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-07 13:41:32 +00:00
macro: add NLMSG_ERROR
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
d851c59308
commit
4e3ed0d196
@ -187,4 +187,8 @@ extern int __build_bug_on_failed;
|
|||||||
#define RTM_NEWNSID 88
|
#define RTM_NEWNSID 88
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef NLMSG_ERROR
|
||||||
|
#define NLMSG_ERROR 0x2
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __LXC_MACRO_H */
|
#endif /* __LXC_MACRO_H */
|
||||||
|
@ -237,9 +237,6 @@ extern int netlink_send(struct nl_handler *handler, struct nlmsg *nlmsg)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NLMSG_ERROR
|
|
||||||
#define NLMSG_ERROR 0x2
|
|
||||||
#endif
|
|
||||||
extern int netlink_transaction(struct nl_handler *handler,
|
extern int netlink_transaction(struct nl_handler *handler,
|
||||||
struct nlmsg *request, struct nlmsg *answer)
|
struct nlmsg *request, struct nlmsg *answer)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user