summaryrefslogtreecommitdiff
path: root/networking/tftp.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-06-10 11:39:09 +0000
committerBernhard Reutner-Fischer2006-06-10 11:39:09 +0000
commit3b1936dcf9d1df4f4a814de3c372258ee63b7cb3 (patch)
treed52ff18e810cdab417856a27f10c9b8f698ff8c8 /networking/tftp.c
parent44e216f2642ff4ea53026792e80df95df71e9905 (diff)
downloadbusybox-3b1936dcf9d1df4f4a814de3c372258ee63b7cb3.zip
busybox-3b1936dcf9d1df4f4a814de3c372258ee63b7cb3.tar.gz
- use bb_xbind
Thanks Erik Hovland
Diffstat (limited to 'networking/tftp.c')
-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;