[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] traceroute -- permissions, setuids, etc..
From: |
Debarshi Ray |
Subject: |
Re: [bug-inetutils] traceroute -- permissions, setuids, etc.. |
Date: |
Sat, 19 Apr 2008 09:09:37 +0530 |
>> + case 'M':
>> + if (strcmp (arg, "icmp") == 0)
>> + opt_type = TRACE_ICMP;
>> + else if (strcmp (arg, "udp") == 0)
>> + opt_type = TRACE_UDP;
>> + else if (strcmp (arg, "1393") == 0)
>> + opt_type = TRACE_1393;
>> + else
>> + error (EXIT_FAILURE, 0, "method should be one of
`icmp', `udp' or `1393'");
> Uselessly verbose, use argp_error,since we get --help referal for
> free, and this is a parsing error anyway...
Done.
Since 1393 is unimplemented and leads to a segmentation fault:
$ ~/bin/traceroute -M 1393 gnu.org
traceroute to gnu.org (199.232.41.10), 64 hops max
Segmentation fault
...I am going to omit that option for the time being.
Happy hacking,
Debarshi
--
"From what we get, we can make a living; what we give, however, makes a life."
-- Arthur Ashe
- [bug-inetutils] traceroute -- permissions, setuids, etc.., Debarshi Ray, 2008/04/17
- Re: [bug-inetutils] traceroute -- permissions, setuids, etc.., Alfred M. Szmidt, 2008/04/18
- Re: [bug-inetutils] traceroute -- permissions, setuids, etc.., Debarshi Ray, 2008/04/18
- Re: [bug-inetutils] traceroute -- permissions, setuids, etc.., Alfred M. Szmidt, 2008/04/18
- Re: [bug-inetutils] traceroute -- permissions, setuids, etc..,
Debarshi Ray <=
- Re: [bug-inetutils] traceroute -- permissions, setuids, etc.., Debarshi Ray, 2008/04/18
- Re: [bug-inetutils] traceroute -- permissions, setuids, etc.., Alfred M. Szmidt, 2008/04/19