mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 19:32:18 +00:00
Silence libc++ warnings, via Olli Hauer
This commit is contained in:
parent
6bd9462dd6
commit
b5e53fc1d8
1 changed files with 1 additions and 1 deletions
|
|
@ -3129,7 +3129,7 @@ static void init_socket(int sd) {
|
|||
}
|
||||
if (o.spoofsource && !bind_failed) {
|
||||
o.SourceSockAddr(&ss, &sslen);
|
||||
if (bind(sd, (struct sockaddr*)&ss, sslen) != 0) {
|
||||
if (::bind(sd, (struct sockaddr*)&ss, sslen) != 0) {
|
||||
error("%s: Problem binding source address (%s), errno: %d", __func__, inet_socktop(&ss), socket_errno());
|
||||
perror("bind");
|
||||
bind_failed = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue