aboutsummaryrefslogtreecommitdiff
path: root/tftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tftp.c')
-rw-r--r--tftp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tftp.c b/tftp.c
index f66c7c4..260e549 100644
--- a/tftp.c
+++ b/tftp.c
@@ -208,8 +208,6 @@ static void tftp_send_error(struct tftp_session *spt, uint16_t errorcode,
goto out;
}
- memset(m->m_data, 0, m->m_size);
-
tp = tftp_prep_mbuf_data(spt, m);
tp->tp_op = htons(TFTP_ERROR);
@@ -237,8 +235,6 @@ static void tftp_send_next_block(struct tftp_session *spt,
return;
}
- memset(m->m_data, 0, m->m_size);
-
tp = tftp_prep_mbuf_data(spt, m);
tp->tp_op = htons(TFTP_DATA);