diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-10 15:39:09 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-10 15:39:09 +0400 |
commit | 3b1936dcf9d1df4f4a814de3c372258ee63b7cb3 (patch) | |
tree | d52ff18e810cdab417856a27f10c9b8f698ff8c8 /networking/tftp.c | |
parent | 44e216f2642ff4ea53026792e80df95df71e9905 (diff) |
- use bb_xbind
Thanks Erik Hovland
Diffstat (limited to 'networking/tftp.c')
-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, 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; |