2c2
< /* $Id: if_media.c,v 1.5 1998/02/06 12:13:48 eivind Exp $ */
---
> /* $Id: if_media.c,v 1.6 1998/02/09 06:09:54 eivind Exp $ */
91a92,104
> void
> ifmedia_removeall(ifm)
> struct ifmedia *ifm;
> {
> struct ifmedia_entry *entry;
>
> for (entry = LIST_FIRST(&ifm->ifm_list); entry;
> entry = LIST_FIRST(&ifm->ifm_list)) {
> LIST_REMOVE(entry, ifm_list);
> free(entry, M_IFADDR);
> }
> }
>
< /* $Id: if_media.c,v 1.5 1998/02/06 12:13:48 eivind Exp $ */
---
> /* $Id: if_media.c,v 1.6 1998/02/09 06:09:54 eivind Exp $ */
91a92,104
> void
> ifmedia_removeall(ifm)
> struct ifmedia *ifm;
> {
> struct ifmedia_entry *entry;
>
> for (entry = LIST_FIRST(&ifm->ifm_list); entry;
> entry = LIST_FIRST(&ifm->ifm_list)) {
> LIST_REMOVE(entry, ifm_list);
> free(entry, M_IFADDR);
> }
> }
>