dhcp: fix dhcp 4/6 mixup

This commit is contained in:
Dan Williams 2010-01-13 17:59:19 -08:00
parent fe62e59c7e
commit 3568a98a61

View file

@ -398,9 +398,9 @@ client_start (NMDHCPManager *self,
add_client (self, client);
if (ipv6)
success = nm_dhcp_client_start_ip4 (client, s_ip4, dhcp_anycast_addr);
else
success = nm_dhcp_client_start_ip6 (client, s_ip6, dhcp_anycast_addr);
else
success = nm_dhcp_client_start_ip4 (client, s_ip4, dhcp_anycast_addr);
if (!success) {
remove_client (self, client);