1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 10:59:02 +00:00

Whitespace.

This commit is contained in:
david
2011-08-30 23:55:06 +00:00
parent 31be04c93c
commit 9932429abd

View File

@@ -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);
}
}