Re: GET_NEXT at the end of a table

2006-03-02 Thread Dave Shield
On Thu, 2006-02-02 at 18:55 +0100, Keller, Beat wrote: > Hi, > > We have to implement the GET_NEXT from a table by our one. What > shall we return if there is no further row in the table? > Shall we set a special value in the varbind, a special OID, or > do we have to return an error? How are yo

Re: GET_NEXT at the end of a table

2006-02-02 Thread Turbo Fredriksson
Quoting "Keller, Beat" <[EMAIL PROTECTED]>: > We have to implement the GET_NEXT from a table by our one. What shall we > return if there is no further row in the table? In my pass_through perl script I return 'NONE\n'. So I guess that's correct (it's in the manual somewhere - should be the same f

GET_NEXT at the end of a table

2006-02-02 Thread Keller, Beat
Hi, We have to implement the GET_NEXT from a table by our one. What shall we return if there is no further row in the table? If we just return SNMP_ERR_NOERROR it works, but it is very slow, because GET_NEXT is called around 40 times. We also tried to set the SNMP_ENDOFMIBVIEW but with the same