summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c
index 73a5ada..527e3dc 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -172,7 +172,7 @@ static inline int tftp(const int cmd, const struct hostent *host,
len = sizeof(sa);
memset(&sa, 0, len);
- bind(socketfd, (struct sockaddr *)&sa, len);
+ bb_xbind(socketfd, (struct sockaddr *)&sa, len);
sa.sin_family = host->h_addrtype;
sa.sin_port = port;