Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!mcsun!dfk From: dfk@NIC.EU.net (Daniel Karrenberg) Newsgroups: comp.protocols.iso.dev-environ Subject: Bug in snmp/syntax.c:prim2ulong() ? Keywords: isode, SNMP, RFC1155, MIB Message-ID: <2891@mcsun.eu.net> Date: 16 Apr 91 16:23:38 GMT Organization: EurOpen Lines: 18 The following is about the SNMP implementation. I have found a problem decoding MIB "Counter"s which have the most significant bit set. The function prim2ulong() in snmp/syntax.c thinks the MSB should never be set. I read RFC1155 differently and apparently the implementors of the agent software in my cisco router think likewise. But then I don't really grok the BER. For the time being I have just disabled the test and it works just fine. Now the question: What is broken, the agent or prim2ulong()? Daniel -- Daniel Karrenberg Future Net: CWI, Amsterdam Oldie Net: mcsun!dfk The Netherlands Because It's There Net: DFK@MCVAX