mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
4
tcpip.cc
4
tcpip.cc
@@ -839,7 +839,7 @@ int send_tcp_raw_decoys(int sd, const struct eth_nfo *eth,
|
||||
|
||||
for (decoy = 0; decoy < o.numdecoys; decoy++)
|
||||
if (send_tcp_raw(sd, eth,
|
||||
&o.decoys[decoy], victim,
|
||||
&((struct sockaddr_in *)&o.decoys[decoy])->sin_addr, victim,
|
||||
ttl, df,
|
||||
ipopt, ipoptlen,
|
||||
sport, dport,
|
||||
@@ -956,7 +956,7 @@ int send_udp_raw_decoys(int sd, const struct eth_nfo *eth,
|
||||
int decoy;
|
||||
|
||||
for (decoy = 0; decoy < o.numdecoys; decoy++)
|
||||
if (send_udp_raw(sd, eth, &o.decoys[decoy], victim,
|
||||
if (send_udp_raw(sd, eth, &((struct sockaddr_in *)&o.decoys[decoy])->sin_addr, victim,
|
||||
ttl, ipid, ipops, ipoptlen,
|
||||
sport, dport, data, datalen) == -1)
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user