This is a discussion on problem in table_container helper functions in NET-SNMP-5.2.2 within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1733455454== Content-class: urn:content-classes:message Content-Type: multipart/alternative; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--===============1733455454== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6D273.5F43884C" This is a multi-part message in MIME format. ------_=_NextPart_001_01C6D273.5F43884C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello List,=20 =20 Following code in table_container.c, resets the column number to the first column when a getnext is issued on the second column with no idexes.=20 =20 if(tblreq->number_indexes =3D=3D 0) { =20 row =3D CONTAINER_FIRST(c); = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D>> problem source;=20 } else {=20 =20 Instead, it should have been,=20 if(tblreq->number_indexes =3D=3D 0) { =20 row =3D CONTAINER_NEXT(c); = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D>> Is this correct? =20 } else {=20 =20 Please help me, whether my understanding is correct or not?=20 =20 Regards mahesh ------_=_NextPart_001_01C6D273.5F43884C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2800.1498" name=3DGENERATOR></HEAD> <BODY> <DIV dir=3Dltr align=3Dleft><SPAN class=3D784422511-07092006><FONT = face=3DArial><FONT=20 size=3D2><SPAN class=3D174504611-07092006> Hello </SPAN>List, = </FONT></FONT></SPAN></DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial = size=3D2>Following code in=20 table_container.c, resets the column number to the first column when a = getnext=20 is issued on the second column with no idexes. </FONT></SPAN></DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20 size=3D2> if(tblreq->number_indexes =3D=3D 0)=20 { & nbsp; = </FONT></SPAN></DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20 size=3D2>   ; row =3D=20 CONTAINER_FIRST(c); =3D=3D=3D=3D= 3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&g t;>=20 problem source; <BR> } else { </FONT></SPAN></DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial = size=3D2>Instead, it should=20 have been, </FONT></SPAN></DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial size=3D2> = if(tblreq->number_indexes =3D=3D 0) { </FONT></SPAN></DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20 size=3D2>   ; row =3D=20 CONTAINER_NEXT(c); = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D>> Is this=20 correct? <BR> } else { </FONT></SPAN></DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial size=3D2>Please = help me,=20 whether my understanding is correct or not? </FONT></SPAN></DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20 size=3D2>Regards</FONT></SPAN></DIV> <DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20 size=3D2>mahesh</FONT></SPAN></DIV></BODY></HTML> ------_=_NextPart_001_01C6D273.5F43884C-- --===============1733455454== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642 --===============1733455454== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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/...net-snmp-users --===============1733455454==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|