On 01/06/07, Need Help <[EMAIL PROTECTED]> wrote: > ............... my concern > with expanding the data_context structure of Table1 with fields from Table2 > was that I thought performing a "snmpwalk" through Table1 would then display > Table2 fields now ....
No. The results returned for Table1 depend on the code in the Table1 implementation. This code extracts selected the appropriate field from the data_context structure for each individual MIB object. It doesn't matter what other fields there might be in this data structure. As long as you don't change the code that actually returns the information (most of which is in the "do not edit this file" code), then the results of walking the table will be unaffected. The agent doesn't simply return the whole of the data structure for a given request - that's not how SNMP works. It is perfectly valid to use the same data_context structure for both tables. (Which is why both Robert and I have each suggested it:-)) Dave ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders