Skip to content

Commit

Permalink
changed default to icmp
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdadrad committed Oct 1, 2016
1 parent e56739d commit 341f38f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions icmp/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func NewTrace(args string, cfg cli.Config) (*Trace, error) {
pSize: cli.SetFlag(flag, "p", 52).(int),
uiTheme: cli.SetFlag(flag, "t", cfg.Trace.Theme).(string),
wait: cli.SetFlag(flag, "w", cfg.Trace.Wait).(string),
icmp: cli.SetFlag(flag, "I", false).(bool),
icmp: cli.SetFlag(flag, "u", true).(bool),
resolve: cli.SetFlag(flag, "n", true).(bool),
ripe: cli.SetFlag(flag, "nr", true).(bool),
realTime: cli.SetFlag(flag, "r", false).(bool),
Expand Down Expand Up @@ -680,7 +680,7 @@ func helpTrace() {
-t Set the real-time terminal theme (dark|light)
-c Set the number of pings sent
-p Set the packet size in bytes inclusive headers (default 52 bytes)
-I Use ICMP instead of UDP datagrams
-u Use UDP datagram instead of ICMP
Example:
trace 8.8.8.8
trace freebsd.org -r
Expand Down

0 comments on commit 341f38f

Please sign in to comment.