summaryrefslogtreecommitdiff
path: root/src/network/networkd-dhcp6.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-07-14 04:56:07 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-07-14 06:51:59 +0900
commit8f4f6307313ccad0b068697bb054a105e5a50e92 (patch)
tree72311404f38873be3ec18d0e7404abdf90cb3359 /src/network/networkd-dhcp6.c
parentb0e5bf0451a6bc94e6e7b2a1de668b75c63f38c8 (diff)
downloadsystemd-8f4f6307313ccad0b068697bb054a105e5a50e92.tar.gz
Revert "network: configure DHCP clients after MAC address is assigned"
This reverts commit f42d41cc5f9cd8cac538a1c30fda04d346b5bae2. DHCPv6 client does not require MAC address. DHCPv4 client will be handled in a different way in a later commit. Partially fixes #23546.
Diffstat (limited to 'src/network/networkd-dhcp6.c')
-rw-r--r--src/network/networkd-dhcp6.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c
index 3dc34f0e52..72ec6826bd 100644
--- a/src/network/networkd-dhcp6.c
+++ b/src/network/networkd-dhcp6.c
@@ -738,11 +738,6 @@ static int dhcp6_process_request(Request *req, Link *link, void *userdata) {
if (!IN_SET(link->state, LINK_STATE_CONFIGURING, LINK_STATE_CONFIGURED))
return 0;
- if (!IN_SET(link->hw_addr.length, ETH_ALEN, INFINIBAND_ALEN) ||
- hw_addr_is_null(&link->hw_addr))
- /* No MAC address is assigned to the hardware, or non-supported MAC address length. */
- return 0;
-
r = dhcp_configure_duid(link, link_get_dhcp6_duid(link));
if (r <= 0)
return r;