Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 12:14:14 +0400 (MSD)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        "Crist J. Clark" <cjc@freebsd.org>
Cc:        net@freebsd.org
Subject:   Re: Fixed Dest Port for traceroute(8)
Message-ID:  <20050926121137.X7055@mp2.macomnet.net>
In-Reply-To: <20050923175125.GA69254@goku.cjclark.org>
References:  <20050923175125.GA69254@goku.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
[...]
> Index: traceroute.c
> ===================================================================
> RCS file: /ncvs/freebsd/src/contrib/traceroute/traceroute.c,v
> retrieving revision 1.27
> diff -u -r1.27 traceroute.c
> --- traceroute.c	26 Aug 2005 18:08:24 -0000	1.27
> +++ traceroute.c	23 Sep 2005 17:47:45 -0000
[...]
> @@ -521,13 +522,17 @@
>  		prog = argv[0];
>
>  	opterr = 0;
> -	while ((op = getopt(argc, argv, "dFInrSvxf:g:i:M:m:P:p:q:s:t:w:z:")) != EOF)
> +	while ((op = getopt(argc, argv, "edFInrSvxf:g:i:M:m:P:p:q:s:t:w:z:")) != EOF)

Better to keep the keys sorted alphabetically.  I.e. "deFI..".  Need
to update usage() as well.

-- 
Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050926121137.X7055>