[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netcf-devel
Subject:    [netcf-devel] [PATCH] Only list devices that have an ifcfg file in ncf_lookup_by_mac_string.
From:       lutter () redhat ! com (David Lutterkort)
Date:       2010-04-12 21:18:44
Message-ID: 1271107124.3099.283.camel () avon ! watzmann ! net
[Download RAW message or body]

On Thu, 2010-04-08 at 15:36 -0400, Laine Stump wrote:
> drv_lookup_by_mac_string would previously find all interfaces that had
> a directory in /sys/class/net with an address file containing the
> correct MAC address. This would include transient interfaces like
> libvirt's virbr*, tun*, etc. These transient interfaces can't be
> configured with netcf anyway, so it doesn't make sense to list them
> here. This patch checks each interface name before adding it to the
> list, to make sure an ifcfg file exists for that interface. If not,
> it's not added to the list.

ACK.

David



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic