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 <[email protected]>
---

Sorry for the (stupid) mistake in indentation in the v1!

 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

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to