aboutsummaryrefslogtreecommitdiff
path: root/src/bootp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootp.c')
-rw-r--r--src/bootp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootp.c b/src/bootp.c
index d78d61b..1a3517e 100644
--- a/src/bootp.c
+++ b/src/bootp.c
@@ -369,7 +369,7 @@ void bootp_input(struct mbuf *m)
{
struct bootp_t *bp = mtod_check(m, sizeof(struct bootp_t));
- if (bp && bp->bp_op == BOOTP_REQUEST) {
+ if (!m->slirp->disable_dhcp && bp && bp->bp_op == BOOTP_REQUEST) {
bootp_reply(m->slirp, bp, m_end(m));
}
}