diff --git a/src/driver/eth/tftp.c b/src/driver/eth/tftp.c
index f4dcabb390c3a718407cec98cb61cd20a50b48d0..beb3efd08101584e8e0c463ad68e2bc11e92d269 100644 (file)
--- a/src/driver/eth/tftp.c
+++ b/src/driver/eth/tftp.c
#include "timer.h"
#include "stream.h"
#include <string.h>
+#include "net_osal.h"
/**********************************************************************
TFTPHDR* ptr_tftphdr;
/* Initialize the data buffer. */
- memset ((void *)&tftpmcb.buffer[0], 0, TFTP_DATA_SIZE + TFTPHEADER_SIZE);
+ netMemset ((void *)&tftpmcb.buffer[0], 0, TFTP_DATA_SIZE + TFTPHEADER_SIZE);
/* Create an ACK packet which is to be sent out. Get the pointer to the
* TFTP Header. */
}
/* Initialize the TFTP MCB at this stage... */
- memset ((void *)&tftpmcb, 0, sizeof(TFTP_MCB));
+ netMemset ((void *)&tftpmcb, 0, sizeof(TFTP_MCB));
/* Populate the socket structure and register this with the UDP module. */
socket.local_port = 1234;