nmap
nmap copied to clipboard
utils_net.cc: Redudant code
Describe the bug https://github.com/nmap/nmap/blob/fd80921926527e6668d76b5696f0d6c054ca6d29/nping/utils_net.cc#L496-L509
What's the point of defining
struct sockaddr_storage src
then filling with 16 zeros
memset(&src, 0, sizeof(struct sockaddr_in) );
and not using as 4th parameter in:
result=route_dst(dst, &rnfo, NULL, NULL);
Version info (please complete the following information):
- master branch