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 9f2635bf39..3ae3db209e 100644 --- a/slirp/bootp.c +++ b/slirp/bootp.c @@ -149,7 +149,7 @@ static void bootp_reply(struct bootp_t *bp) if ((m = m_get()) == NULL) return; - m->m_data += if_maxlinkhdr; + m->m_data += IF_MAXLINKHDR; rbp = (struct bootp_t *)m->m_data; m->m_data += sizeof(struct udpiphdr); memset(rbp, 0, sizeof(struct bootp_t)); |