summaryrefslogtreecommitdiff
path: root/src/libnm-platform/nm-netlink.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-08-10 17:27:59 +0200
committerThomas Haller <thaller@redhat.com>2021-08-17 13:18:07 +0200
commitfa745181dcc595660cc9c4eac17df2fb5be1259c (patch)
treeb352ef4904930abaa42ef09009683999befc4e8b /src/libnm-platform/nm-netlink.h
parentf7635c9ffe738f1b9376d04d8c4acec2fc3caf8b (diff)
downloadNetworkManager-fa745181dcc595660cc9c4eac17df2fb5be1259c.tar.gz
platform/netlink: drop unused NLA_NUL_STRING type
Kernel implemente NLA_NUL_STRING type, but we don't implement exactly the same type checks. Drop NLA_NUL_STRING and use a plain NLA_STRING instead.
Diffstat (limited to 'src/libnm-platform/nm-netlink.h')
-rw-r--r--src/libnm-platform/nm-netlink.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libnm-platform/nm-netlink.h b/src/libnm-platform/nm-netlink.h
index a3644d49bd..3946286716 100644
--- a/src/libnm-platform/nm-netlink.h
+++ b/src/libnm-platform/nm-netlink.h
@@ -36,7 +36,6 @@ enum {
NLA_STRING, /* NUL terminated character string */
NLA_FLAG, /* Flag */
NLA_NESTED, /* Nested attributes */
- NLA_NUL_STRING,
__NLA_TYPE_MAX,
};