From 3b1936dcf9d1df4f4a814de3c372258ee63b7cb3 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 10 Jun 2006 11:39:09 +0000 Subject: - use bb_xbind Thanks Erik Hovland --- networking/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking') 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; -- cgit v1.2.3