summaryrefslogtreecommitdiff
path: root/dst
diff options
context:
space:
mode:
authorEvan Hunt <each@isc.org>2007-10-27 19:15:37 +0000
committerEvan Hunt <each@isc.org>2007-10-27 19:15:37 +0000
commit75135a3f7f86854a13de4fdf4a3b87eded2bcf2f (patch)
tree93c116d0fef25d54306902313bda3858a5fa317d /dst
parent182b187ea54b201b405561f342fecf674faf8b68 (diff)
downloadisc-dhcp-75135a3f7f86854a13de4fdf4a3b87eded2bcf2f.tar.gz
Use different paths for PID and lease files when running in DHCPv4 or
DHCPv6 mode, so that servers for both protcols can be run simultaneously on a single interface. [rt17227]
Diffstat (limited to 'dst')
-rw-r--r--dst/dst_support.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dst/dst_support.c b/dst/dst_support.c
index c2f4997f..2b1008d9 100644
--- a/dst/dst_support.c
+++ b/dst/dst_support.c
@@ -1,4 +1,4 @@
-static const char rcsid[] = "$Header: /tmp/cvstest/DHCP/dst/dst_support.c,v 1.1 2001/02/22 07:22:08 mellon Exp $";
+static const char rcsid[] = "$Header: /tmp/cvstest/DHCP/dst/dst_support.c,v 1.2 2007/10/27 19:15:32 each Exp $";
/*
@@ -155,7 +155,7 @@ dst_s_conv_bignum_b64_to_u8(const char **buf,
}
bp = strchr(*buf, '\n'); /* find length of input line */
if (bp != NULL)
- *bp = (u_char) NULL;
+ *bp = '\0';
blen = b64_pton(*buf, bstr, sizeof(bstr));
if (blen <= 0) {