Oh!! Thanks a lot! It will effect all the modules. If no other side effect on 
others this is a better approach.

Thanks again,
Jim 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Shield
Sent: Thursday, December 15, 2005 12:22 AM
To: Jim Su
Cc: Net-Snmp-Users
Subject: RE: change the return value in V1 interface counter

On Mon, 2005-12-12 at 18:59 +0800, Jim Su wrote:
>  I found the way to change the returning value if some object is not in one 
> device.



> #if 0  <=============================
> #if NO_DUMMY_VALUES
>         return NULL;
> #endif <=============================

Why not simply run

        configure --with-dummy-values

??

That's exactly what this particular option is meant for.

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date: 2005/12/13

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/200 - Release Date: 2005/12/14
 

Reply via email to