summaryrefslogtreecommitdiff
path: root/src/platform/nm-platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/nm-platform.h')
-rw-r--r--src/platform/nm-platform.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/platform/nm-platform.h b/src/platform/nm-platform.h
index 6d5bd0722e..215c512ff8 100644
--- a/src/platform/nm-platform.h
+++ b/src/platform/nm-platform.h
@@ -222,6 +222,11 @@ typedef struct {
guint32 timestamp; \
guint32 lifetime; /* seconds since timestamp */ \
guint32 preferred; /* seconds since timestamp */ \
+ \
+ /* ifa_flags in 'struct ifaddrmsg' from <linux/if_addr.h>, extended to 32 bit by
+ * IFA_FLAGS attribute. */ \
+ guint32 n_ifa_flags; \
+ \
int plen; \
;
@@ -270,7 +275,6 @@ struct _NMPlatformIP6Address {
__NMPlatformIPAddress_COMMON;
struct in6_addr address;
struct in6_addr peer_address;
- guint32 n_ifa_flags; /* ifa_flags from <linux/if_addr.h>, field type "unsigned int" is as used in rtnl_addr_get_flags. */
};
typedef union {