Subject: Re: Possible memory leak for multicast all-hosts address?
To: Shiva Shenoy <>
From: None <>
List: tech-net
Date: 10/08/2000 09:52:19
>When an IP interface is configured using ifconfig, I
>see that a 
>INADDR_ALLHOSTS_GROUP address gets attached to that
>ini_ifinit() in netinet/in.c
>if (ifp->if_flags & IFF_MULTICAST) {
>	struct in_addr addr;
>	addr.s_addr = INADDR_ALLHOSTS_GROUP;
>	in_addmulti(&addr, ifp);
>But I dont see associated in_delmulti() when an
>interface is deleted - "ifconfig de0 delete"
>(Should that have been added to in_purgeaddr()?)

	it looks your observation correct.  we need some improvement here.

	just for clarification - "ifconfig de0 delete" is removal of interface
	address, not the interface removal like pcmcia card removal.