Created
November 14, 2020 12:22
-
-
Save Mic92/2b95fb7b52b872a1565351214e9108d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c | |
index d4d4182ee5..3b1fa5848b 100644 | |
--- a/src/network/networkd-dhcp6.c | |
+++ b/src/network/networkd-dhcp6.c | |
@@ -1391,7 +1391,7 @@ int dhcp6_configure(Link *link) { | |
assert(link); | |
assert(link->network); | |
- if (!link_dhcp6_enabled(link) && !link_ipv6_accept_ra_enabled(link)) | |
+ if (!link_dhcp6_enabled(link) && (!link_ipv6_accept_ra_enabled(link) || !link->hw_addr.length)) | |
return 0; | |
if (link->dhcp6_client) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment