aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-10 11:39:09 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-10 11:39:09 +0000
commit3b1936dcf9d1df4f4a814de3c372258ee63b7cb3 (patch)
treed52ff18e810cdab417856a27f10c9b8f698ff8c8 /networking
parent44e216f2642ff4ea53026792e80df95df71e9905 (diff)
downloadbusybox-3b1936dcf9d1df4f4a814de3c372258ee63b7cb3.tar.gz
- use bb_xbind
Thanks Erik Hovland
Diffstat (limited to 'networking')
-rw-r--r--networking/tftp.c2
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,
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;