dhcp: remove sd_dhcp6_client_set_ifname() function

This function was added to inject the ifname to the dhcp6 client.
As dhcp_identifier_set_iaid() now looks up the name itself by calling
if_indextoname(), this is no longer needed.
This commit is contained in:
Thomas Haller
2015-03-02 20:19:16 +01:00
parent 9f2f751349
commit 974546d9c9
3 changed files with 0 additions and 21 deletions

View File

@@ -746,12 +746,6 @@ ip6_start (NMDhcpClient *client,
goto error;
}
r = sd_dhcp6_client_set_ifname (priv->client6, iface);
if (r < 0) {
nm_log_warn (LOGD_DHCP6, "(%s): failed to set DHCP ifname (%d)", iface, r);
goto error;
}
r = sd_dhcp6_client_set_callback (priv->client6, dhcp6_event_cb, client);
if (r < 0) {
nm_log_warn (LOGD_DHCP6, "(%s): failed to set DHCP callback (%d)", iface, r);