1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-24 07:09:01 +00:00

Call socket_bindtodevice in FTP bounce scan.

This commit is contained in:
david
2012-10-03 15:43:26 +00:00
parent c5faae4b26
commit 53cb923ffd

View File

@@ -2908,6 +2908,7 @@ int ftp_anon_connect(struct ftpinfo *ftp) {
gh_perror("Couldn't create %s socket", __func__);
return 0;
}
socket_bindtodevice(sd, o.device);
sock.sin_family = AF_INET;
sock.sin_addr.s_addr = ftp->server.s_addr;