platform: clarify that address lifetimes are in seconds

This commit is contained in:
Dan Williams
2013-10-31 17:32:04 -05:00
parent f7645f4ab4
commit 15f9a27d2e

View File

@@ -124,16 +124,16 @@ typedef struct {
in_addr_t address; in_addr_t address;
int plen; int plen;
guint32 timestamp; guint32 timestamp;
guint32 lifetime; guint32 lifetime; /* seconds */
guint32 preferred; guint32 preferred; /* seconds */
} NMPlatformIP4Address; } NMPlatformIP4Address;
typedef struct { typedef struct {
int ifindex; int ifindex;
struct in6_addr address; struct in6_addr address;
int plen; int plen;
guint32 timestamp; guint32 timestamp; /* seconds */
guint32 lifetime; guint32 lifetime; /* seconds */
guint32 preferred; guint32 preferred;
guint flags; /* ifa_flags from <linux/if_addr.h>, field type "unsigned int" is as used in rtnl_addr_get_flags. */ guint flags; /* ifa_flags from <linux/if_addr.h>, field type "unsigned int" is as used in rtnl_addr_get_flags. */
} NMPlatformIP6Address; } NMPlatformIP6Address;