summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2007-03-26 21:33:59 +0000
committerDavid Cantrell <dcantrell@redhat.com>2007-03-26 21:33:59 +0000
commit887019e4e3406837df6da1399df1e05bcf26a9aa (patch)
tree89a55b678f96806b583ea41f945b4d4b4ea12261 /network.py
parentd4c4d92de15f87d90abe9021b9f05dfa8ff5aa8c (diff)
downloadanaconda-887019e4e3406837df6da1399df1e05bcf26a9aa.tar.gz
anaconda-887019e4e3406837df6da1399df1e05bcf26a9aa.tar.xz
anaconda-887019e4e3406837df6da1399df1e05bcf26a9aa.zip
* network.py: When gathering network device description from kudzu,
only probe for devices with modules currently loaded (#233507).
Diffstat (limited to 'network.py')
-rw-r--r--network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.py b/network.py
index 6c9011d88..6e10dd754 100644
--- a/network.py
+++ b/network.py
@@ -255,7 +255,7 @@ class Network:
self.netdevices[self.firstnetdevice].set(("onboot", "yes"))
# assign description to each device based on kudzu information
- probedevs = kudzu.probe(kudzu.CLASS_NETWORK, kudzu.BUS_UNSPEC, 0)
+ probedevs = kudzu.probe(kudzu.CLASS_NETWORK, kudzu.BUS_UNSPEC, kudzu.PROBE_LOADED)
for netdev in probedevs:
device = netdev.device
if device in self.netdevices.keys():