This is a discussion on Community string field in netsnmp-session structure getting corrupted. - SNMP ; This is a multi-part message in MIME format. --===============0264589175== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C88F3C.D0E139AC" This is a multi-part message in MIME format. ------_=_NextPart_001_01C88F3C.D0E139AC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, I am calling snmp_open(&session) in a C++ function. Before passing ...
This is a multi-part message in MIME format.
--===============0264589175==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C88F3C.D0E139AC"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C88F3C.D0E139AC
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi all,
I am calling snmp_open(&session) in a C++ function. Before passing
session variable to snmp_open I have initialized it properly=20
with the value of peer name , version , community string. But if I print
it inside snmp_open() I am getting NULL for community string=20
field but for others ie version and peername I am getting the proper
value. Can you please think of something which I might be doing=20
incorrectly ? Thank you for your valuable time.
=20
=20
=20
=20
Regards,
Rajendra
------_=_NextPart_001_01C88F3C.D0E139AC
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
charset=3Dus-ascii">
Hi=20
all,
I am =
calling=20
snmp_open(&session) in a C++ function. Before passing session =
variable to=20
snmp_open I have initialized it properly
with =
the value of=20
peer name , version , community string. But if I print it inside =
snmp_open() I=20
am getting NULL for community string
field =
but for others=20
ie version and peername I am getting the proper value. Can you please =
think of=20
something which I might be doing
size=3D2>incorrectly ? Thank=20
you for your valuable time.
size=3D2>
size=3D2>
size=3D2>
size=3D2>
size=3D2>Regards,
size=3D2>Rajendra
------_=_NextPart_001_01C88F3C.D0E139AC--
--===============0264589175==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216...et/marketplace
--===============0264589175==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
--===============0264589175==--