diff options
-rw-r--r-- | networking/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index 73a5adae5..527e3dc11 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -172,7 +172,7 @@ static inline int tftp(const int cmd, const struct hostent *host, | |||
172 | len = sizeof(sa); | 172 | len = sizeof(sa); |
173 | 173 | ||
174 | memset(&sa, 0, len); | 174 | memset(&sa, 0, len); |
175 | bind(socketfd, (struct sockaddr *)&sa, len); | 175 | bb_xbind(socketfd, (struct sockaddr *)&sa, len); |
176 | 176 | ||
177 | sa.sin_family = host->h_addrtype; | 177 | sa.sin_family = host->h_addrtype; |
178 | sa.sin_port = port; | 178 | sa.sin_port = port; |