Robert,

thanks for your very quick response. Unfortunally, this time, the patch
didn't work or i made a mistake. 

First, i updated the mib.c-file with the patch-tool. Than, i run make and
than make install. Net-snmp compiled without any errors. Than, i compiled my
agent and set an InetAdress-Variable. Last i run snmpget ... to test the
result.

And the result is still the same:
Setting an InetAddress like this 41.41.41.41, the result is
... = STRING: "))))"

Probably i made a mistake, but i don't know which.

I thought, the error occurs, when displaying the variable. So, i built the
snmpget-tool with the up to date mib.c-Code-file and the binary should be
correct. I checked with the truss-tool, which libraries i used when calling
snmpget and i used my new libnetsnmp.so.5.

So, i don't know which mistake i made. Do you have any hint for me?

Kind regards,

Sven






> On Tue, 26 Oct 2004 16:28:55 +0200 (MEST) Sven wrote:
> SJ> while i was working with setting and getting an IPv4 InetAddress one
> SJ> problem arise.
> SJ> 
> SJ> But, when setting an Address like this 41.41.41.41, the result is a
> little
> SJ> bit strange:
> SJ> ... = STRING: "))))"
> SJ> 
> SJ> >From my point of view, the second IP-Adress is a valid address.
> SJ> 
> SJ> Is is correct, that in the second case only displaying the variable is
> the
> SJ> problem? 
> SJ> 
> SJ> Actually i'm using net-snmp v5.1.2. Are the coders going to fix this
> SJ> problem in future releases?
> 
> It is already fixed in 5.2. Here is a patch for 5.1.x.
> 
> 
> -- 
> Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
> <irc://irc.freenode.net/#net-snmp>
> Archive:
> <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>
> 
> You are lost in a twisty maze of little standards, all different. 
> 

-- 
Geschenkt: 3 Monate GMX ProMail + 3 Ausgaben der TV Movie mit DVD
++++ Jetzt anmelden und testen http://www.gmx.net/de/go/mail ++++



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to