projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5700919
)
dhcpv6: fix size_t fields in syslog format
author
Mikael Magnusson
<mikma@users.sourceforge.net>
Sun, 1 Nov 2020 13:52:39 +0000
(14:52 +0100)
committer
Hans Dedecker
<dedeckeh@gmail.com>
Sun, 1 Nov 2020 19:13:35 +0000
(20:13 +0100)
Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
src/dhcpv6.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6.c
b/src/dhcpv6.c
index 00628cd219ae42cf25d76e1abd6757e79fbdaecc..225f9616f029b4c95d46a5947d04095e74f1c4d6 100644
(file)
--- a/
src/dhcpv6.c
+++ b/
src/dhcpv6.c
@@
-253,7
+253,7
@@
static int send_reply(_unused const void *buf, size_t len,
struct dhcpv4_msg_data *reply = opaque;
if (len > reply->maxsize) {
- syslog(LOG_ERR, "4o6: reply too large, %
u > %
u", len, reply->maxsize);
+ syslog(LOG_ERR, "4o6: reply too large, %
zu > %z
u", len, reply->maxsize);
reply->len = -1;
} else {
memcpy(reply->msg, buf, len);