From 116891bfb0e72b7f53898feac65e092952379e1f Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 6 Sep 2008 18:04:00 +0000 Subject: [PATCH] fix comment git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@887 42af7a65-404d-4744-a932-0658087f49c3 --- netutils/tftpc/tftpc_get.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/netutils/tftpc/tftpc_get.c b/netutils/tftpc/tftpc_get.c index 9b63405d5d4..e1b0e10d526 100644 --- a/netutils/tftpc/tftpc_get.c +++ b/netutils/tftpc/tftpc_get.c @@ -204,8 +204,9 @@ int tftpget(const char *remote, const char *local, in_addr_t addr, boolean binar goto errout_with_sd; } - /* Subsequent recvfrom will use any port number until the correct - * port for the data transfer is established. + /* Subsequent sendto will use the port number selected by the TFTP + * server. Setting the server port to zero indicates that we have + * not yet received the server port number. */ server.sin_port = 0;