tcpdump mailing list archives

Re: [Patch] tcpdump probabilistic sampling


From: Guy Harris <guy () alum mit edu>
Date: Mon, 14 Apr 2008 15:05:28 -0700

Michael Richardson wrote:
Only... -P is used somewhere else, in another patch, I think.
We gotta get 4.0 out, with long options...

tcpdump currently still uses getopt(), so it doesn't support long options.

Should we switch to getopt_long(), and include a BSD-licensed getopt_long() (e.g., one from one of the *BSDs) for platforms that don't have it? (Glibc's had it for a while, I think recent versions of most of not all of the *BSDs have it, recent versions of OS X have it, and recent versions of Solaris have it, at least.)
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: