Re: Re: RE: Table problem with ASN_IPADDRESS index

2007-03-20 Thread Dave Shield
On 19/03/07, maciej_golas <[EMAIL PROTECTED]> wrote: > > What version of the Net-SNMP code are you working with? > > net-snmp version 5.2 If you do mean 5.2 (and not 5.2.3), then this release is well over two years old by now, and a *LOT* has changed since then. In particular, I'm pretty sure we'

RE: Table problem with ASN_IPADDRESS index

2007-03-19 Thread maciej_golas
Wiadomość Oryginalna Od: Adam Bell <[EMAIL PROTECTED]> Do: maciej_golas <[EMAIL PROTECTED]> Kopia do: net-snmp-users@lists.sourceforge.net Data: 19 marca 2007 17:05 Temat: RE: RE: Table problem with ASN_IPADDRESS index > But is your host an Intel platform? > >

RE: Table problem with ASN_IPADDRESS index

2007-03-19 Thread maciej_golas
Wiadomość Oryginalna Od: Adam Bell <[EMAIL PROTECTED]> Do: maciej_golas <[EMAIL PROTECTED]> Kopia do: net-snmp-users@lists.sourceforge.net Data: 19 marca 2007 17:05 Temat: RE: RE: Table problem with ASN_IPADDRESS index > But is your host an Intel platform? > >

Re: Table problem with ASN_IPADDRESS index

2007-03-19 Thread maciej_golas
Wiadomość Oryginalna Od: Patrick J Kobly <[EMAIL PROTECTED]> Do: maciej_golas <[EMAIL PROTECTED]> Kopia do: Adam Bell <[EMAIL PROTECTED]>, net-snmp-users@lists.sourceforge.net Data: 19 marca 2007 16:11 Temat: Re: Table problem with ASN_IPADDRESS index > Maciej, &

RE: RE: Table problem with ASN_IPADDRESS index

2007-03-19 Thread Adam Bell
:57 AM To: Adam Bell Cc: net-snmp-users@lists.sourceforge.net Subject: Re: RE: Table problem with ASN_IPADDRESS index Wiadomość Oryginalna Od: Adam Bell <[EMAIL PROTECTED]> Do: maciej_golas <[EMAIL PROTECTED]>, net-snmp-users@lists.sourceforge.net Data: 19 marca 2007 14:17 Tema

Re: RE: Table problem with ASN_IPADDRESS index

2007-03-19 Thread Dave Shield
On 19/03/07, maciej_golas <[EMAIL PROTECTED]> wrote: > Od: Adam Bell <[EMAIL PROTECTED]> > > > Is the host or the agent running on a little endian machine? > > You may have to byte swap at the appropriate location to get network order. > > > > Adam > > > > My host runs on Lunux (x86 architecture).

Re: Table problem with ASN_IPADDRESS index

2007-03-19 Thread Patrick J Kobly
Maciej, Check out the man page for htonl(3). PK maciej_golas wrote: > My host runs on Lunux (x86 architecture). > But how to do "byte swap" under my agent? The code generated by mib2c allows > that? > - Take Surveys. Ea

Re: RE: Table problem with ASN_IPADDRESS index

2007-03-19 Thread maciej_golas
Wiadomość Oryginalna Od: Adam Bell <[EMAIL PROTECTED]> Do: maciej_golas <[EMAIL PROTECTED]>, net-snmp-users@lists.sourceforge.net Data: 19 marca 2007 14:17 Temat: RE: Table problem with ASN_IPADDRESS index > Is the host or the agent running on a little endian machine? &g

RE: Table problem with ASN_IPADDRESS index

2007-03-19 Thread Adam Bell
Is the host or the agent running on a little endian machine? You may have to byte swap at the appropriate location to get network order. Adam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of maciej_golas Sent: Monday, March 19, 2007 5:12 AM To: net-snmp-u