dhcp: fix ignoring addresses with DHCPv6 otherconf (O flag)
With O flag (otherconf mode), don't add the IPv6 addresses to the collected lease. An alternative would be to add it initially, but ignore it when merging the configuration in NML3Cfg. The idea of that would be that if the mode switches from otherconf to managed, that we already have the address. However, depending on the mode we already make different DHCPv6 requests (at least for internal client). That means, if the mode changes we anyway cannot just use the previous lease, because it might not contain all the information. So it seems better to ignore the address early. Fixes: 58287cbc ('core: rework IP configuration in NetworkManager using layer 3 configuration') https://bugzilla.redhat.com/show_bug.cgi?id=2083968 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/ ## 953 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/ ## 1220
-
Maintainer
https://jenkins-networkmanager.apps.ocp.ci.centos.org/job/NetworkManager-code-mr/1078/
Result: UNSTABLE: Some tests failed
M0 FAIL: Passed: 591, Failed: 1, Skipped: 30
M1 PASS: Passed: 587, Failed: 0, Skipped: 36
Passed: 1178, Failed 1, Skipped 66.
Executed on: CentOS 8-stream
Failed tests: nmcli_novice_mode_readline
-
Maintainer
Result: UNSTABLE: Some tests failing
Passed: 1197, Failed: 2, Skipped: 48
bond_mode_8023ad nmcli_novice_mode_readline
Please register or sign in to comment