From 7c5dfd1cbce948c1b77800dc095364c9b1482f6b Mon Sep 17 00:00:00 2001 From: aldot Date: Fri, 18 Aug 2006 18:29:40 +0000 Subject: - typo: s/optarg/nprobes_str; fixes segfault as reported by Raphael HUCK git-svn-id: svn://busybox.net/trunk/busybox@15826 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- networking/traceroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networking/traceroute.c b/networking/traceroute.c index 9c1d6346e..b6a885544 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c @@ -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 -- cgit v1.2.3-55-g6feb