SOURCES: dhcdbd-x-bugfix.patch (NEW) - bugfix path: the '-x' optio...

emes emes at pld-linux.org
Sun Oct 28 15:18:44 CET 2007


Author: emes                         Date: Sun Oct 28 14:18:44 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- bugfix path: the '-x' option shouldn't be passed to dhclient on start

---- Files affected:
SOURCES:
   dhcdbd-x-bugfix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/dhcdbd-x-bugfix.patch
diff -u /dev/null SOURCES/dhcdbd-x-bugfix.patch:1.1
--- /dev/null	Sun Oct 28 15:18:44 2007
+++ SOURCES/dhcdbd-x-bugfix.patch	Sun Oct 28 15:18:39 2007
@@ -0,0 +1,17 @@
+diff -Nurwa dhcdbd-2.8-orig/src/dhcdbd.c dhcdbd-2.8/src/dhcdbd.c
+--- dhcdbd-2.8-orig/src/dhcdbd.c	2006-08-25 21:45:05.000000000 +0200
++++ dhcdbd-2.8/src/dhcdbd.c	2007-10-28 16:08:59.388530456 +0100
+@@ -924,11 +924,13 @@
+                         return -1;
+                 sprintf (dhc_args[arg], "dhc_dbus=%-2u", d_if->dhc_mode);
+ 
++#if 0
+ #if DHCLIENT_EXTENDED_OPTION_ENVIRONMENT > 0
+                 if ((dhc_args[++arg] = (char *) malloc (3)) == 0L)
+                         return -1;
+                 strcpy (dhc_args[arg], "-x");
+ #endif
++#endif
+ 
+                 if ((dhc_args[++arg] = (char *) malloc (3)) == 0L)
+                         return -1;
================================================================


More information about the pld-cvs-commit mailing list