On 5 October 2010 16:12, Fulko Hew <fulko....@gmail.com> wrote:
> I had my blinders on and saw that the walk returned ucdavis.254,
> (so thats what I was (only) looking for)
> but the corresponding MIB (NET-SNMP_PASS_MIB) is defined as .255,
> And the examples.c file uses .254.
>
> So... the .c file doesn't match the MIB. (one of them needs to change)...



Please have a closer look at the MIB file:

  a)   It is rooted at   netSnmp(8072).netSnmpExamples(2).255
        *not*  ucdavis(2021).255

  b)  It defines
          'Example MIB objects for "pass" and "pass-persist" extension script'
       i.e. local/passtest and local/passtest.pl

This particular MIB file is not related to the 'example/example.c' code
(although the objects may well be the same)

The examples.c code is much earlier, dating from the v4 UCD era.
I can't remember whether we ever officially defined a MIB file
for these objects.
  Certainly, with the move to Net-SNMP (v5), we started being a
lot more rigourous in the MIB provision.  But there are still elements
of the early, laissez faire approach kicking around - examples/example.c
may well be one of these.

Dave

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to