smilint: Counter32 and Counter64 read-only

Hi, RFC2578 states for Counter32 and Counter64 that the MAX-ACCESS clause is either "read-only" or "accessible-for-notify." I tested a Counter as read-write with Libsmi 0.3.1 and smilint did not catch this.
I also tested the MIB with the smilint on SimpleWeb. Have you noticed this before?
Pamela
-- Pamela Heckmann Icon Laboratories, Inc. Pam_Heckmann@icon-labs.com Not all those that wander are lost. -J.R.R. Tolkien, novelist and philologist (1892-1973)

Pamela Heckmann writes:
Pamela> RFC2578 states for Counter32 and Counter64 that the MAX-ACCESS Pamela> clause is either "read-only" or "accessible-for-notify." I Pamela> tested a Counter as read-write with Libsmi 0.3.1 and smilint Pamela> did not catch this.
Pamela> I also tested the MIB with the smilint on SimpleWeb. Have you Pamela> noticed this before?
It is mentioned in the TODO list. Someone has to write a patch...
/js

Hi!
Pamela> RFC2578 states for Counter32 and Counter64 that the MAX-ACCESS Pamela> clause is either "read-only" or "accessible-for-notify." I Pamela> tested a Counter as read-write with Libsmi 0.3.1 and smilint Pamela> did not catch this.
Pamela> I also tested the MIB with the smilint on SimpleWeb. Have you Pamela> noticed this before?
Juergen> It is mentioned in the TODO list. Someone has to write a patch...
Did so.
strauss@hansa libsmi/ 973 $ ./tools/smilint ~/IF-MIB-COUNTERBUG [...] /home/strauss/IF-MIB-COUNTERBUG:327: warning: counter object `ifInOctets' must be `read-only' or `accessible-for-notify' [...]
Available from the anonymous CVS repository.
-frank
participants (3)
-
Frank Strauss
-
Juergen Schoenwaelder
-
Pamela Heckmann