Blame SOURCES/dhcp-duidv4.patch

324fcf
diff -up dhcp-4.3.1b1/client/dhclient.8.KrJcIv dhcp-4.3.1b1/client/dhclient.8
324fcf
--- dhcp-4.3.1b1/client/dhclient.8.KrJcIv	2014-07-10 17:39:25.852763873 +0200
324fcf
+++ dhcp-4.3.1b1/client/dhclient.8	2014-07-10 17:54:26.841012988 +0200
324fcf
@@ -458,6 +458,9 @@ used to construct a RFC4361 style client
324fcf
 in the client's messages.  This client id can be overridden by
324fcf
 setting a client id in the configuration file.  Overridding the
324fcf
 client id in this fashion is discouraged.
324fcf
+This option is turned on by default, if you want to redefine or turn off
324fcf
+sending of client id, use send dhcp-client-identifier = "better identifier"
324fcf
+or send dhcp-client-identifier = "" in /etc/dhcp/dhclient.conf.
324fcf
 .TP
324fcf
 .BI \-I
324fcf
 Use the standard DDNS scheme from RFCs 4701 & 4702.  
324fcf
diff -up dhcp-4.3.1b1/client/dhclient.c.KrJcIv dhcp-4.3.1b1/client/dhclient.c
324fcf
--- dhcp-4.3.1b1/client/dhclient.c.KrJcIv	2014-07-10 17:54:26.829013157 +0200
324fcf
+++ dhcp-4.3.1b1/client/dhclient.c	2014-07-10 17:55:50.155835918 +0200
324fcf
@@ -73,7 +73,7 @@ struct sockaddr_in sockaddr_broadcast;
324fcf
 struct in_addr giaddr;
324fcf
 struct data_string default_duid;
324fcf
 int duid_type = 0;
324fcf
-int duid_v4 = 0;
324fcf
+int duid_v4 = 1;
324fcf
 int std_dhcid = 0;
324fcf
 
324fcf
 /* ASSERT_STATE() does nothing now; it used to be
324fcf
@@ -1301,7 +1301,7 @@ static void setup_ib_interface(struct in
324fcf
 	}
324fcf
 
324fcf
 	/* No client ID specified */
324fcf
-	log_fatal("dhcp-client-identifier must be specified for InfiniBand");
324fcf
+	//log_fatal("dhcp-client-identifier must be specified for InfiniBand");
324fcf
 }
324fcf
 
324fcf
 /* Individual States: