Re: IPAddress in the Table not returning proper value

Robert Story <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Net-SNMP
Message-ID <20051109010402.74b8ac27@aud>
On Wed, 26 Oct 2005 16:39:20 +0530 Ravi wrote:
RK> +-- -R-- IpAddr dnsIPAddress(2)
RK> [...]
RK> /* Add the Date for the First Row
RK> */
RK> netsnmp_set_row_column(row, 2, ASN_IPADDRESS,
RK> "16.138.56.91<http://16.138.56.91/>",
RK> 16);

An IpAddress is a 4 byte integer, not a string.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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.