changes to tftp.c