mirror of
https://github.com/sheumann/hush.git
synced 2024-08-20 19:29:02 +00:00
- typo: s/optarg/nprobes_str; fixes segfault as reported by Raphael HUCK
This commit is contained in:
parent
71193a853d
commit
13068a4fdb
@ -1003,7 +1003,7 @@ traceroute_main(int argc, char *argv[])
|
||||
if(port_str)
|
||||
port = (u_short)str2val(port_str, "port", 1, (1 << 16) - 1);
|
||||
if(nprobes_str)
|
||||
nprobes = str2val(optarg, "nprobes", 1, -1);
|
||||
nprobes = str2val(nprobes_str, "nprobes", 1, -1);
|
||||
if(source) {
|
||||
/*
|
||||
* set the ip source address of the outbound
|
||||
|
Loading…
Reference in New Issue
Block a user