commit | 3b1936dcf9d1df4f4a814de3c372258ee63b7cb3 | [log] [tgz] |
---|---|---|
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | Sat Jun 10 11:39:09 2006 +0000 |
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | Sat Jun 10 11:39:09 2006 +0000 |
tree | d52ff18e810cdab417856a27f10c9b8f698ff8c8 | |
parent | 44e216f2642ff4ea53026792e80df95df71e9905 [diff] [blame] |
- use bb_xbind Thanks Erik Hovland
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 @@ 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;