problem in table_container helper functions in NET-SNMP-5.2.2

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


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-07-2006
Kurapati M-G19456
 
Posts: n/a
Default problem in table_container helper functions in NET-SNMP-5.2.2

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>&nbsp;Hello &nbsp;</SPAN>List, =

</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</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>&nbsp;</DIV>
<DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20
size=3D2>&nbsp;if(tblreq-&gt;number_indexes =3D=3D 0)=20
{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; row =3D=20
CONTAINER_FIRST(c);&nbsp;&nbsp;&nbsp;=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;&gt;=20
problem source; <BR>&nbsp;&nbsp;&nbsp; } else { </FONT></SPAN></DIV>
<DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</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>&nbsp; =

if(tblreq-&gt;number_indexes =3D=3D 0) {&nbsp;&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; row =3D=20
CONTAINER_NEXT(c);&nbsp;&nbsp; =
=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&gt;&gt; Is this=20
correct? &nbsp;<BR>&nbsp;&nbsp;&nbsp; } else { </FONT></SPAN></DIV>
<DIV><SPAN class=3D784422511-07092006><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</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>&nbsp;</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==--

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:11 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0