about summary refs log tree commit diff
path: root/src/platform/nm-netlink.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-06-17 14:54:57 +0200
committerMichael Biebl <biebl@debian.org>2018-06-17 14:54:57 +0200
commit9d9b149b81f5ea5fe53ac383fda9cf3afb96b30f (patch)
treea47c80e4d962d3f2202dbab41e2744c921fb8567 /src/platform/nm-netlink.h
parent03218e6d85e6654bd942b7531ba48b9d9535d55f (diff)
parent069cb5c3a525ebcc19cc2927964258acaca87b13 (diff)
Update upstream source from tag 'upstream/1.11.90'
Update to upstream version '1.11.90'
with Debian dir 13153fad72263d24704dca73c994fe8f7bfd3a28
Diffstat (limited to 'src/platform/nm-netlink.h')
-rw-r--r--src/platform/nm-netlink.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/platform/nm-netlink.h b/src/platform/nm-netlink.h
index c0dc09c4..b938fa4a 100644
--- a/src/platform/nm-netlink.h
+++ b/src/platform/nm-netlink.h
@@ -244,6 +244,9 @@ nla_put_string (struct nl_msg *msg, int attrtype, const char *str)
 #define NLA_PUT_STRING(msg, attrtype, value) \
 	NLA_PUT(msg, attrtype, (int) strlen(value) + 1, value)
 
+#define NLA_PUT_FLAG(msg, attrtype) \
+	NLA_PUT(msg, attrtype, 0, NULL)
+
 struct nlattr *nla_find (const struct nlattr *head, int len, int attrtype);
 
 static inline int