[PATCH] snmp clientMeshList index

From: Jean-Francois Dive <jef@dont-contact.us>
Date: Wed, 23 Jan 2002 15:59:18 +1100 (EST)

Hi all,

Some time ago, i posted a message ont this list about the clientMesh group
(statistics). The table index is the ip address of the client. The snmp
agent was not giving the addresses in an ordoned way, which is not RFC
compliant.

I fixed this bug, this way:
- build a sorted list of ip client ip addresses
- change the client_db.c:client_entry() function to use this index instead
of the hashDB.
- No changes have been made to the hash structure as it is used for other
things.
- Worked on the release 2.6-DEVEL-20020122

I attach the patch, waiting for comments / tests /integration, etc..
question.

Cheers,

JeF

Received on Tue Jan 22 2002 - 21:58:59 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:46 MST