diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-08-18 18:29:40 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-08-18 18:29:40 +0000 |
commit | 7c5dfd1cbce948c1b77800dc095364c9b1482f6b (patch) | |
tree | db9d97462142c3ae2b0d9a7755014809b747d043 | |
parent | 66efcbd8adffc1a465008b544fefdafcc5fd7f22 (diff) | |
download | busybox-w32-7c5dfd1cbce948c1b77800dc095364c9b1482f6b.tar.gz busybox-w32-7c5dfd1cbce948c1b77800dc095364c9b1482f6b.tar.bz2 busybox-w32-7c5dfd1cbce948c1b77800dc095364c9b1482f6b.zip |
- 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
-rw-r--r-- | networking/traceroute.c | 2 |
1 files changed, 1 insertions, 1 deletions
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[]) | |||
1003 | if(port_str) | 1003 | if(port_str) |
1004 | port = (u_short)str2val(port_str, "port", 1, (1 << 16) - 1); | 1004 | port = (u_short)str2val(port_str, "port", 1, (1 << 16) - 1); |
1005 | if(nprobes_str) | 1005 | if(nprobes_str) |
1006 | nprobes = str2val(optarg, "nprobes", 1, -1); | 1006 | nprobes = str2val(nprobes_str, "nprobes", 1, -1); |
1007 | if(source) { | 1007 | if(source) { |
1008 | /* | 1008 | /* |
1009 | * set the ip source address of the outbound | 1009 | * set the ip source address of the outbound |