]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp6-client: Fix sending prefix delegation request (#17136)
authormog422 <admin@mog422.net>
Thu, 24 Sep 2020 15:04:52 +0000 (00:04 +0900)
committerGitHub <noreply@github.com>
Thu, 24 Sep 2020 15:04:52 +0000 (17:04 +0200)
commit26a63b81322a3bd8b9fbd43f75897c391708de2c
treeefa385eba9f6454710dfb92396d74c7f951e5671
parent960b585ba116cc09055d3f5540a0c73e088d37e4
sd-dhcp6-client: Fix sending prefix delegation request (#17136)

SD_DHCP6_OPTION_IA_NA does not exist in DHCP6_ADVERTISE packet if DHCP server only provides prefix delegation. So the attempt to send the DHCP6_REQUEST packet fails on r = dhcp6_option_append_ia(&opt, &optlen, &client->lease->ia); forever.
src/libsystemd-network/sd-dhcp6-client.c