RE: How to create row for a table having two indices.
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, Thank you very much dave. That solved my problem of accessing the second index. After giving the command 'snmpset -c public 127.0.0.1 mVgSipDnsServerRowStatus.1.\"1.1.1.1\" i 4' the corresponding row is getting created. But when I am giving the following command 'snmpset -c public 127.0.0.1 mVgSipDnsServerPriority.1.\"1.1.1.1\" i 2' the program is crashing because in the corresponding handler function the 'table_entry' is null and I am not able to copy the dnsserverpriority into the table_entry. Please help me. Thanks Krishna -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Monday, September 17, 2007 1:22 PM To: Kolakalurikrishna Chaitanya (WT01 - TES-Access Networks) Cc: [email protected] Subject: Re: How to create row for a table having two indices. On 17/09/2007, <[email protected]> wrote: > I have generated the code for the table using iterator helper. After > receiving the request I am not able to receive the ipaddress passed by the > snmpset command in > > Table_info->indexes but I am able to receive the ipaddresstype i.e '1'. The first structure in the the index list (i.e. table_info->indexes) should be the value of mVgSipDnsServerIPAddressType The second structure in the the index list (i.e. table_info->indexes->next_variable) should be the value of mVgSipDnsServerIPAddress Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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