Blame SOURCES/dhcp-stateless-DUID-LLT.patch

324fcf
diff -up dhcp-4.3.4/client/dhclient.c.stateless-DUID-LLT dhcp-4.3.4/client/dhclient.c
324fcf
--- dhcp-4.3.4/client/dhclient.c.stateless-DUID-LLT	2016-04-29 13:13:50.467360008 +0200
324fcf
+++ dhcp-4.3.4/client/dhclient.c	2016-04-29 13:14:53.389375428 +0200
324fcf
@@ -1317,6 +1317,9 @@ void run_stateless(int exit_mode, u_int1
324fcf
 			data_string_forget(&default_duid, MDL);
324fcf
 
324fcf
 		form_duid(&default_duid, MDL);
324fcf
+		if (form_duid(&default_duid, MDL) == ISC_R_SUCCESS &&
324fcf
+		    duid_type == DUID_LLT)
324fcf
+			write_duid(&default_duid);
324fcf
 	}
324fcf
 
324fcf
 #ifdef DHCP4o6