]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp6-client: Prevent setting and restarting of DHCPv6 client
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 23 Sep 2015 10:51:53 +0000 (13:51 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 23 Sep 2015 12:11:09 +0000 (15:11 +0300)
commitd7c9c21f18704580f66a1ce73fb6b506fdf40732
tree45879003998e97100149f563d492bc89263cb5f4
parentdbb319464a91d2e4592bf5245bc8c08d09f43876
sd-dhcp6-client: Prevent setting and restarting of DHCPv6 client

Prevent modifications to index, MAC address, DUID and Information
Request while the DHCPv6 client is running.

Require the DHCPv6 client to be stopped first instead of always
unconditionally restarting it if the caller calls
sd_dhcp6_client_start() more than once. With this change, handling
of for example incoming Router Advertisments becomes much easier.
src/libsystemd-network/sd-dhcp6-client.c