diff options
author | Thomas Haller <thaller@redhat.com> | 2020-03-25 11:16:11 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-03-25 11:16:16 +0100 |
commit | d1181533b8aaaa6918bcf3592fc4de62d20acaa5 (patch) | |
tree | f561115871e983574a77c421118f4361c34b2439 | |
parent | 1704507c490fba2b54387e1b19a222bec91e715e (diff) |
rdisc: fix parsing ndp_msg_opt_dnssl_lifetime() from IPv6 RA
Fixes: c3a4656a68f9 ('rdisc: libndp implementation')
-rw-r--r-- | src/ndisc/nm-lndp-ndisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ndisc/nm-lndp-ndisc.c b/src/ndisc/nm-lndp-ndisc.c index d09ee5257f..3202c979e7 100644 --- a/src/ndisc/nm-lndp-ndisc.c +++ b/src/ndisc/nm-lndp-ndisc.c @@ -258,7 +258,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 |