summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-10-24 10:06:21 -0400
committerChris Lumens <clumens@redhat.com>2008-10-24 10:06:21 -0400
commit33fae9ff475f7b8d7977901e89d7a3177f12fb7e (patch)
tree5d6928028c9ec57a3cc684a117c8f7737bb8df3c /network.py
parentd5c0a7287fe810c06968687777bdca527a44258e (diff)
downloadanaconda-33fae9ff475f7b8d7977901e89d7a3177f12fb7e.tar.gz
anaconda-33fae9ff475f7b8d7977901e89d7a3177f12fb7e.tar.xz
anaconda-33fae9ff475f7b8d7977901e89d7a3177f12fb7e.zip
Fix a typo when using network --gateway (#468364).
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 b5b1590b7..d902c3524 100644
--- a/network.py
+++ b/network.py
@@ -396,7 +396,7 @@ class Network:
i += 1
def setGateway(self, gw, device):
- self.netdevices[dev].set(('GATEWAY', gw))
+ self.netdevices[device].set(('GATEWAY', gw))
def lookupHostname(self):
# can't look things up if they don't exist!