mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 22:00:13 +01:00
trivial: use 'preferred' attribute name for preferred lifetime
This commit is contained in:
parent
439473e9a4
commit
f6ef374076
2 changed files with 2 additions and 2 deletions
|
|
@ -481,7 +481,7 @@ receive_ra (struct ndp *ndp, struct ndp_msg *msg, gpointer user_data)
|
|||
address.address = route.network;
|
||||
address.timestamp = now;
|
||||
address.lifetime = ndp_msg_opt_prefix_valid_time (msg, offset);
|
||||
address.preferred_lft = ndp_msg_opt_prefix_preferred_time (msg, offset);
|
||||
address.preferred = ndp_msg_opt_prefix_preferred_time (msg, offset);
|
||||
|
||||
fill_address_from_mac (&address.address, lladdr);
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ typedef struct {
|
|||
struct in6_addr address;
|
||||
guint32 timestamp;
|
||||
guint32 lifetime;
|
||||
guint32 preferred_lft;
|
||||
guint32 preferred;
|
||||
} NMRDiscAddress;
|
||||
|
||||
typedef struct {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue