summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-09-26 20:13:40 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-09-26 20:13:40 +0000
commit258ed808384504b23a0666660e5b60531c2cb447 (patch)
tree3596cba93e09b9a4f60b2989b58c86e4a448e667 /network.py
parentbab7f09d08fc67753c1c6b62d89468d5893b8c50 (diff)
downloadanaconda-258ed808384504b23a0666660e5b60531c2cb447.tar.gz
anaconda-258ed808384504b23a0666660e5b60531c2cb447.tar.xz
anaconda-258ed808384504b23a0666660e5b60531c2cb447.zip
* network.py (Network): UI isn't using it, so removed references to
a third nameserver setting (which should be called tertiary NS, not ternary NS).
Diffstat (limited to 'network.py')
-rw-r--r--network.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/network.py b/network.py
index 5c2d17b7e..cadc0f389 100644
--- a/network.py
+++ b/network.py
@@ -167,7 +167,6 @@ class Network:
self.gateway = ""
self.primaryNS = ""
self.secondaryNS = ""
- self.ternaryNS = ""
self.domains = []
self.isConfigured = 0
self.hostname = "localhost.localdomain"
@@ -233,8 +232,6 @@ class Network:
self.primaryNS = resolv[1]
elif self.secondaryNS == "":
self.secondaryNS = resolv[1]
- elif self.ternaryNS == "":
- self.ternaryNS = resolv[1]
# now initialize remaining devices
# XXX we just throw return away, the method initialize a
@@ -317,8 +314,6 @@ class Network:
self.primaryNS = dns[0]
if len(dns) >= 2:
self.secondaryNS = dns[1]
- if len(dns) >= 3:
- self.ternaryNS = dns[2]
def setGateway(self, gw):
self.gateway = gw
@@ -379,7 +374,7 @@ class Network:
return ip
def nameservers(self):
- return (self.primaryNS, self.secondaryNS, self.ternaryNS)
+ return (self.primaryNS, self.secondaryNS)
def dnsString(self):
str = ""