Hi,
I am generation a "c" code for my mib table which is having a coloum type
IPADDR ( ASN_IPADDRESS).
If I use mib2c.iterate_access.conf file for generating the code it generates
snmp_set_var_typed_value(var, $c.type, retval, retval_len) in MODE_GET.
and at manager end it is being read successfully.
If I use mib2c.iterate.conf file it generates snmp_set_var_typed_integer(
request->requestvb, $c.type, table_entry->$c) in MODE_GET. In this case at
manager end data is being received with length 8 resulting in failure of data
reading.
Please suggest which one is the proper way to generate code and why using
mib2c.iterate.conf is giving this type of problem.
regards,
kagre
--------------------------------------------------------------------------------
::Disclaimer::
--------------------------------------------------------------------------------
The contents of this email and any attachment(s) are confidential and intended
for the named recipient(s) only. It shall not attach any liability on C-DOT.
Any views or opinions presented in this email are solely those of the author
and may not necessarily reflect the opinions of C-DOT. Any form of
reproduction, dissemination, copying, disclosure, modification, distribution
and / or publication of this message without the prior written consent of the
author of this e-mail is strictly prohibited. If you have received this email
in error please delete it and notify the sender immediately.
--------------------------------------------------------------------------------
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
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