mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-16 07:40:41 +01:00
rdisc: fix parsing ndp_msg_opt_dnssl_lifetime() from IPv6 RA
Fixes:c3a4656a68('rdisc: libndp implementation') (cherry picked from commitd1181533b8)
This commit is contained in:
parent
5ab7794266
commit
b28eee1c4b
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ receive_ra (struct ndp *ndp, struct ndp_msg *msg, gpointer user_data)
|
|||
NMNDiscDNSDomain dns_domain = {
|
||||
.domain = domain,
|
||||
.timestamp = now,
|
||||
.lifetime = ndp_msg_opt_rdnss_lifetime (msg, offset),
|
||||
.lifetime = ndp_msg_opt_dnssl_lifetime (msg, offset),
|
||||
};
|
||||
|
||||
/* Pad the lifetime somewhat to give a bit of slack in cases
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue