File dhcp-3.0.5-ldap-patch_host_brace.dif of Package dhcp
--- server/ldap.c
+++ server/ldap.c 2007/04/26 11:44:01
@@ -165,10 +165,11 @@
x_strncat (cfile->inbuf, "host ", LDAP_BUFFER_SIZE);
x_strncat (cfile->inbuf, tempstr[0], LDAP_BUFFER_SIZE);
+ x_strncat (cfile->inbuf, " {\n", LDAP_BUFFER_SIZE);
if (hwaddr != NULL && hwaddr[0] != NULL)
{
- x_strncat (cfile->inbuf, " {\nhardware ", LDAP_BUFFER_SIZE);
+ x_strncat (cfile->inbuf, "hardware ", LDAP_BUFFER_SIZE);
x_strncat (cfile->inbuf, hwaddr[0], LDAP_BUFFER_SIZE);
x_strncat (cfile->inbuf, ";\n", LDAP_BUFFER_SIZE);
ldap_value_free (hwaddr);