]> git.pld-linux.org Git - packages/dhcdbd.git/blobdiff - dhcdbd-x-bugfix.patch
- bugfix path: the '-x' option shouldn't be passed to dhclient on start
[packages/dhcdbd.git] / dhcdbd-x-bugfix.patch
diff --git a/dhcdbd-x-bugfix.patch b/dhcdbd-x-bugfix.patch
new file mode 100644 (file)
index 0000000..85e5964
--- /dev/null
@@ -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;
This page took 0.050433 seconds and 4 git commands to generate.