mirror of
https://github.com/nmap/nmap.git
synced 2025-12-29 10:59:02 +00:00
Whitespace.
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user