RE: IpAddress types being rewritten as signed integer
"Larry Low" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <04d901c8638a$4b2bd6a0$e18383e0$@com> |
Ahh I see. I thought I had read differently. I'll just have to continue to decode the integers in my handlers. Thanks. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: [email protected]' Telesphere Networks, Inc > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Dave Shield > Sent: Wednesday, January 30, 2008 6:49 AM > To: Larry Low > Cc: [email protected] > Subject: Re: IpAddress types being rewritten as signed integer > > 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