Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: iputils/iputils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Inrin/iputils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Feb 18, 2017

  1. Copy the full SHA
    553d1ab View commit details
Showing with 17 additions and 1 deletion.
  1. +16 −0 doc/tracepath.sgml
  2. +1 −1 tracepath.c
16 changes: 16 additions & 0 deletions doc/tracepath.sgml
Original file line number Diff line number Diff line change
@@ -15,6 +15,8 @@ traces path to a network host discovering MTU along this path</refpurpose>
<refsynopsisdiv>
<cmdsynopsis>
<command>tracepath</command>
<arg choice="opt">-4</arg>
<arg choice="opt">-6</arg>
<arg choice="opt">-n</arg>
<arg choice="opt">-b</arg>
<arg choice="opt">-l <replaceable/pktlen/</arg>
@@ -46,6 +48,20 @@ of UDP ports to maintain trace history.
<refsect1><title>OPTIONS</title>
<variablelist>

<varlistentry>
<term><option>-4</option></term>
<listitem><para>
Use IPv4 only.
</para></listitem>
</varlistentry>

<varlistentry>
<term><option>-6</option></term>
<listitem><para>
Use IPv6 only.
</para></listitem>
</varlistentry>

<varlistentry>
<term><option>-n</option></term>
<listitem><para>
2 changes: 1 addition & 1 deletion tracepath.c
Original file line number Diff line number Diff line change
@@ -366,7 +366,7 @@ static void usage(void) __attribute((noreturn));

static void usage(void)
{
fprintf(stderr, "Usage: tracepath [-n] [-b] [-l <len>] [-p port] <destination>\n");
fprintf(stderr, "Usage: tracepath [-4] [-6] [-n] [-b] [-l <len>] [-p port] <destination>\n");
exit(-1);
}