>>>>> "Guy" == Guy Harris <[EMAIL PROTECTED]> writes:
Guy> Michael Richardson wrote:
>> Only... -P is used somewhere else, in another patch, I think. We
>> gotta get 4.0 out, with long options...
Guy> tcpdump currently still uses getopt(), so it doesn't support
Guy> long options.
Guy> Should we switch to getopt_long(), and include a BSD-licensed
Guy> getopt_long() (e.g., one from one of the *BSDs) for platforms
Guy> that don't have it? (Glibc's had it for a while, I think
Guy> recent versions of most of not all of the *BSDs have it, recent
Guy> versions of OS X have it, and recent versions of Solaris have
Guy> it, at least.)
My plan was to libnetdissect everything.
Leave "tcpdump.c" being just main() (i.e. option processing), and
provide a net wrapper which could start fresh with getopt_long(), and
a full alphabet of options. At least 10 letters are reserved because of
various extensions/compatibility with vendor versions...
--
] ON HUMILITY: to err is human. To moo, bovine. | firewalls [
] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.