Re: IpAddress types being rewritten as signed integer

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 28/01/2008, Larry Low <[email protected]> wrote:
> Here is the capture from an event.  As you can see the issue.  IpAddress is
> by definition formatted as an unsigned integer but snmptrapd is detecting it
> as a signed integer.

Actually, assuming that these MIB objects are defined using the
syntax IpAddress,  these are actually four-octet character strings.
(See RFC 2578 for the definition of IpAddress).

If the generating application is encoding these as integers,
then this will indeed trigger a "WrongType" error message.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.