Set IPADDRS value

"Naama Bar Menachem" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello

 

When setting an IP-address value, how do I retrieve the value from the
requests?

When reading the value - *(requests->requestvb->val.integer) -  under
case MODE_SET_ACTION, I always receive 0.

I tried to print the value directly or by saving it to in_addr_t: 

      in_addr_t ip_addrs = *(requests->requestvb->val.integer);

 

help!

 

Best Regards,

 

Naama Bar Menachem

SW Eng.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct

_______________________________________________
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.