File 0001-rdisc-fix-parsing-ndp_msg_opt_dnssl_lifetime-from-IP.patch of Package NetworkManager.23603
From d1181533b8aaaa6918bcf3592fc4de62d20acaa5 Mon Sep 17 00:00:00 2001
From: Thomas Haller <thaller@redhat.com>
Date: Wed, 25 Mar 2020 11:16:11 +0100
Subject: [PATCH] rdisc: fix parsing ndp_msg_opt_dnssl_lifetime() from IPv6 RA
Fixes: c3a4656a68f9 ('rdisc: libndp implementation')
---
src/ndisc/nm-lndp-ndisc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
@@ -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
--
2.26.2