- use bb_xbind

Thanks Erik Hovland
This commit is contained in:
Bernhard Reutner-Fischer 2006-06-10 11:39:09 +00:00
parent 44e216f264
commit 3b1936dcf9

View File

@ -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;