Hi Dave

1. the set problem was a result of a return value that is not NULL in
get_entry. 
   It was my mistake in editing the file.
2. The timeout problem when walking the tree (or on GET) was a result of
a wrong error value in MODE_GETNEXT case, 
   that returned "SNMP_NOSUCHINSTANCE" instead of "SNMP_ENDOFMIBVIEW".
Caused by mib2c.
THANKS!!!

New question:
Is it possible to add new row without getting inputs? Not index and not
other values?
As if the user pressed a "ADD" button and my behind the screen mechanism
will put initial values to all, including index.

Naama


-----Original Message-----
From: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] On Behalf Of
Dave Shield
Sent: Monday, July 30, 2012 3:17 PM
To: Naama Bar Menachem
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: How to delete/add line from raw table?

On 30 July 2012 13:00, Naama Bar Menachem
<naama.barmenac...@novelsat.com> wrote:
> True. But even after I fixed it - I get the same error as we started 
> with, since it first try to SET the RowStatus (I can see from inner 
> log
> prints)

Can you please check  the value that is being returned from
   nsCommonConfigDataForwardPolicyRouteTable_get_entry()
       when querying a row that doesn't currently exist?

It ought to be returning 'NULL' .
Is this the case?

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to