mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 20:40:06 +01:00
platform: clarify that address lifetimes are in seconds
This commit is contained in:
parent
f7645f4ab4
commit
15f9a27d2e
1 changed files with 4 additions and 4 deletions
|
|
@ -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 <linux/if_addr.h>, field type "unsigned int" is as used in rtnl_addr_get_flags. */
|
||||
} NMPlatformIP6Address;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue