summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-09-05 16:34:24 +0000
committerJeremy Katz <katzj@redhat.com>2002-09-05 16:34:24 +0000
commit5deccaced77a7ef64e161fab9415157d8919b15f (patch)
tree1fecd9d666adabe8e9390a0fcde99639ec58b70a /network.py
parenta78c9e098fe9001af3ddff99cc46a3f2112dd881 (diff)
downloadanaconda-5deccaced77a7ef64e161fab9415157d8919b15f.tar.gz
anaconda-5deccaced77a7ef64e161fab9415157d8919b15f.tar.xz
anaconda-5deccaced77a7ef64e161fab9415157d8919b15f.zip
merge anaconda-8-0-branch to HEAD
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 f1f66b505..f6e03c992 100644
--- a/network.py
+++ b/network.py
@@ -178,7 +178,7 @@ class Network:
self.primaryNS = isys.pumpNetDevice(dev.get('device'))
self.isConfigured = 1
break
- elif dev.get('ipaddr') and dev.get('netmask'):
+ elif dev.get('ipaddr') and dev.get('netmask') and self.gateway is not None:
try:
isys.configNetDevice(dev.get('device'),
dev.get('ipaddr'),