Fwd: [PATCH v2] traceroute: add missing description of -i option to usage text

Alex alexinbeijing at gmail.com
Sun Aug 23 20:30:27 UTC 2015


Ping...

---------- Forwarded message ----------
From: Alex Dowad <alexinbeijing at gmail.com>
Date: Fri, Aug 7, 2015 at 10:31 AM
Subject: [PATCH v2] traceroute: add missing description of -i option
to usage text
To: busybox at busybox.net

I thought that BusyBox traceroute didn't allow the user to set the source
interface, and was searching all around for an alternative... until I
looked at the source and discovered it was there all along. This will
help other users to avoid making the same mistake.

Signed-off-by: Alex Dowad <alexinbeijing at gmail.com>
---
 networking/traceroute.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/networking/traceroute.c b/networking/traceroute.c
index 97a7a19..1c26fab 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -227,6 +227,7 @@
 //usage:     "\n       -r      Bypass routing tables, send directly to HOST"
 //usage:     "\n       -v      Verbose"
 //usage:     "\n       -m      Max time-to-live (max number of hops)"
+//usage:     "\n       -i      Interface to use as source"
 //usage:     "\n       -p      Base UDP port number used in probes"
 //usage:     "\n               (default 33434)"
 //usage:     "\n       -q      Number of probes per TTL (default 3)"
@@ -246,6 +247,7 @@
 //usage:     "\n       -r      Bypass routing tables, send directly to HOST"
 //usage:     "\n       -v      Verbose"
 //usage:     "\n       -m      Max time-to-live (max number of hops)"
+//usage:     "\n       -i      Interface to use as source"
 //usage:     "\n       -p      Base UDP port number used in probes"
 //usage:     "\n               (default is 33434)"
 //usage:     "\n       -q      Number of probes per TTL (default 3)"
--
2.0.0.GIT


More information about the busybox mailing list