mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
- use bb_xbind
Thanks Erik Hovland
This commit is contained in:
parent
44e216f264
commit
3b1936dcf9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user