summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-08-18 18:29:40 +0000
committerBernhard Reutner-Fischer2006-08-18 18:29:40 +0000
commit13068a4fdbe558daea85820fec663db3536aacff (patch)
treedb9d97462142c3ae2b0d9a7755014809b747d043 /networking
parent71193a853d0e9f33027d1e81a5b61adb2a5b486d (diff)
downloadbusybox-13068a4fdbe558daea85820fec663db3536aacff.zip
busybox-13068a4fdbe558daea85820fec663db3536aacff.tar.gz
- typo: s/optarg/nprobes_str; fixes segfault as reported by Raphael HUCK
Diffstat (limited to 'networking')
-rw-r--r--networking/traceroute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c
index 9c1d634..b6a8855 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