sd-dhcp6-client: fix sending prefix delegation request during rebind
authorThomas Haller <thaller@redhat.com>
Thu, 3 Feb 2022 17:55:18 +0000 (18:55 +0100)
committerLuca Boccassi <bluca@debian.org>
Mon, 14 Feb 2022 22:00:56 +0000 (22:00 +0000)
commit74dfb51f7025ded0bf16adb9fe304258ec8b2852
tree9d5a46ffe7c895aa360c8e6508fe410cb854ed76
parent3a125c762f7254b33f3340ba18470a792c7849b4
sd-dhcp6-client: fix sending prefix delegation request during rebind

Fixes an assertion failure "pd->type == SD_DHCP6_OPTION_IA_PD" in dhcp6_option_append_pd().

Something similar was done in commit 26a63b81322a ('sd-dhcp6-client: Fix
sending prefix delegation request (#17136)'). The justification is
probably the same.

(cherry picked from commit 58da18251f468de9de4cc7b36804c924e2fd4421)
src/libsystemd-network/sd-dhcp6-client.c