mirror of
https://github.com/nmap/nmap.git
synced 2026-10-20 19:01:56 +00:00
Whitespace.
This commit is contained in:
parent
31be04c93c
commit
9932429abd
1 changed files with 10 additions and 9 deletions
19
tcpip.cc
19
tcpip.cc
|
|
@ -1973,15 +1973,16 @@ pcap_if_t *getpcapinterfaces() {
|
|||
|
||||
|
||||
|
||||
int nmap_route_dst(const struct sockaddr_storage * const dst, struct route_nfo *rnfo){
|
||||
struct sockaddr_storage spoofss;
|
||||
size_t spoofsslen;
|
||||
if(o.spoofsource){
|
||||
o.SourceSockAddr(&spoofss, &spoofsslen);
|
||||
return route_dst(dst, rnfo, o.device, &spoofss);
|
||||
}else{
|
||||
return route_dst(dst, rnfo, o.device, NULL);
|
||||
}
|
||||
int nmap_route_dst(const struct sockaddr_storage *dst, struct route_nfo *rnfo) {
|
||||
struct sockaddr_storage spoofss;
|
||||
size_t spoofsslen;
|
||||
|
||||
if (o.spoofsource) {
|
||||
o.SourceSockAddr(&spoofss, &spoofsslen);
|
||||
return route_dst(dst, rnfo, o.device, &spoofss);
|
||||
} else {
|
||||
return route_dst(dst, rnfo, o.device, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue