summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-02-11 09:03:21 +0100
committerJoel Andres Granados <jgranado@redhat.com>2008-02-11 09:03:21 +0100
commit2a216047589a34b49a871b851a4925d0cddcaae7 (patch)
tree66b74f6f4fb407a676ac60c03c518a2a4447ac00
parentc71fadef7ba371192e744c44e17ca4aba66bd403 (diff)
downloadanaconda-2a216047589a34b49a871b851a4925d0cddcaae7.tar.gz
anaconda-2a216047589a34b49a871b851a4925d0cddcaae7.tar.xz
anaconda-2a216047589a34b49a871b851a4925d0cddcaae7.zip
Use the correct variables to get the ipv6 info. (#432035)
-rw-r--r--textw/network_text.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/textw/network_text.py b/textw/network_text.py
index 20db63a2a..f67be0c45 100644
--- a/textw/network_text.py
+++ b/textw/network_text.py
@@ -484,10 +484,10 @@ class NetworkDeviceWindow:
continue
# set the manual IPv6 address/prefix
- if ipv6prefix is not None:
- addr = "%s/%s" % (ipv6addr, ipv6prefix,)
+ if prefix is not '':
+ addr = "%s/%s" % (ip, prefix,)
else:
- addr = "%s" % (ipv6addr,)
+ addr = "%s" % (ip,)
dev.set(('ipv6addr', addr))