From 15f9a27d2e26e57e156fced2da28d539dad97a0b Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 31 Oct 2013 17:32:04 -0500 Subject: [PATCH] platform: clarify that address lifetimes are in seconds --- src/platform/nm-platform.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/platform/nm-platform.h b/src/platform/nm-platform.h index 7de0280c9..9cafbc7be 100644 --- a/src/platform/nm-platform.h +++ b/src/platform/nm-platform.h @@ -124,16 +124,16 @@ typedef struct { in_addr_t address; int plen; guint32 timestamp; - guint32 lifetime; - guint32 preferred; + guint32 lifetime; /* seconds */ + guint32 preferred; /* seconds */ } NMPlatformIP4Address; typedef struct { int ifindex; struct in6_addr address; int plen; - guint32 timestamp; - guint32 lifetime; + guint32 timestamp; /* seconds */ + guint32 lifetime; /* seconds */ guint32 preferred; guint flags; /* ifa_flags from , field type "unsigned int" is as used in rtnl_addr_get_flags. */ } NMPlatformIP6Address;