diff options
Diffstat (limited to 'slirp/bootp.c')
-rw-r--r-- | slirp/bootp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/bootp.c b/slirp/bootp.c index 261762a260..3e4e8810be 100644 --- a/slirp/bootp.c +++ b/slirp/bootp.c @@ -293,7 +293,7 @@ static void bootp_reply(Slirp *slirp, const struct bootp_t *bp) memcpy(q, nak_msg, sizeof(nak_msg) - 1); q += sizeof(nak_msg) - 1; } - *q++ = RFC1533_END; + *q = RFC1533_END; daddr.sin_addr.s_addr = 0xffffffffu; |