diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-02-11 09:03:21 +0100 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-02-11 09:03:21 +0100 |
commit | 2a216047589a34b49a871b851a4925d0cddcaae7 (patch) | |
tree | 66b74f6f4fb407a676ac60c03c518a2a4447ac00 | |
parent | c71fadef7ba371192e744c44e17ca4aba66bd403 (diff) | |
download | anaconda-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.py | 6 |
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)) |