On Tue, 2005-08-09 at 00:25 -0400, John Pfaff wrote:
> > Looking in snmptrapd.c, I see "l:" (for specifying the syslog
> > facility) in options, but it's not handled in the getopt case
> > statement.  Has it been deprecated?

> Nevermind.  I see in the man page that it's being deprecated.  But it
> is still in the options array.  Version 5.2.1 BTW.

Oops!  Good catch.

It was originally deprecated in favour of '-S'
(but kept for backward compatability)

When '-S' was in turn deprecated in favour of '-Ls',
the '-l' switch block was removed completely, but the
getopt string wasn't updated to match.
   (You just can't get decent staff these days!)

Now fixed.
Thanks for pointing it out.

Dave


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to