projects
/
oweals
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4264248
)
Make clang happy
author
Steven Barth
<steven@midlink.org>
Thu, 3 Apr 2014 09:53:26 +0000
(11:53 +0200)
committer
Steven Barth
<steven@midlink.org>
Thu, 3 Apr 2014 09:53:26 +0000
(11:53 +0200)
src/dhcpv6-ia.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6-ia.c
b/src/dhcpv6-ia.c
index 4bfea18ec3b19e220e1a4a2b7794bda2c1d48ca0..767a546fbe5db0ff776c41cc7c514b1a2479e61c 100644
(file)
--- a/
src/dhcpv6-ia.c
+++ b/
src/dhcpv6-ia.c
@@
-279,7
+279,7
@@
void dhcpv6_write_statefile(void)
md5_hash(c->hostname, strlen(c->hostname), &md5);
}
- l += snprintf(leasebuf + l, sizeof(leasebuf) - l, "%s/%
hhu
", ipbuf,
+ l += snprintf(leasebuf + l, sizeof(leasebuf) - l, "%s/%
d
", ipbuf,
(c->managed_size) ? addrs[i].prefix : c->length);
}
leasebuf[l - 1] = '\n';