]> git.ipfire.org Git - thirdparty/systemd.git/commit
[networkd-dhcp6] do not call sd_dhcp6_client_start() from dhcp6_request_address() 3304/head
authortomty89 <tom.ty89@gmail.com>
Fri, 20 May 2016 10:28:30 +0000 (18:28 +0800)
committertomty89 <tom.ty89@gmail.com>
Fri, 20 May 2016 10:28:30 +0000 (18:28 +0800)
commit59bc1530b8a06621bf29109984898daa3f8cc6ce
tree859cb307b729bac2adc31c67640bd595f323d1a9
parent9243aa45fa0cfcd399aa7db1abd1e64e9ac515e3
[networkd-dhcp6] do not call sd_dhcp6_client_start() from dhcp6_request_address()

Starting the DHCP client doesn't seem like dhcp6_request_address()'s responsibility anyway. Whenever it's called, sd_dhcp6_client_start() is unconditionally called outside of it as well. See ndisc_router_handler() and ndisc_handler() in networkd-ndisc.c.
src/network/networkd-dhcp6.c