From 0393bbebeda9d8a610accf15377a3487b4fc1ddc Mon Sep 17 00:00:00 2001 From: jack9603301 Date: Mon, 10 Aug 2020 21:45:58 +0800 Subject: tcptraceroute: T2723: Improve command line options, support execution without port Because the ports of tcptraceroute and tcptraceroute6 do not need to be specified in this feature, modify the command line syntax --- op-mode-definitions/traceroute.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/traceroute.xml b/op-mode-definitions/traceroute.xml index 640f0b90c..10ee3c07e 100644 --- a/op-mode-definitions/traceroute.xml +++ b/op-mode-definitions/traceroute.xml @@ -30,6 +30,7 @@ Route tracing and port detection using TCP + sudo /usr/bin/tcptraceroute "$3" @@ -57,6 +58,7 @@ Use TCP/IPv6 packets to perform a traceroute + sudo /usr/bin/tcptraceroute6 "$3" @@ -103,6 +105,7 @@ Route tracing and port detection using TCP + sudo /usr/sbin/ip vrf exec "$3" /usr/bin/tcptraceroute "$5" @@ -130,6 +133,7 @@ Use TCP/IPv6 packets to perform a traceroute + sudo /usr/sbin/ip vrf exec "$3" /usr/bin/tcptraceroute6 "$5" -- cgit v1.2.3