Douglas> I am creating an agent that maintains MIB instances
Douglas> indexed by IP address. How do I remove a MIB instance
Douglas> in the agent when one of the IP addresses becomes
Douglas> invalid?
Douglas> To create the instance I do:
Douglas> $s_agent instance X.$ipaddr X($ipaddr)
The lifetime of the MIB instance is bound to the Tcl variable. Try
unset X($ipaddr)
and the MIB instance will disappear.
Juergen
-- Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw Computer Science Department, University of Twente, (Fax: +31-53-489-3247) P.O. Box 217, NL-7500 AE Enschede, The Netherlands. (Tel. +31-53-489-3678)