diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-10-02 19:29:21 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-10-02 19:29:21 +0000 |
commit | c605886cce2f117cd3b74bbd32746737962b06e1 (patch) | |
tree | d3816e82f3378ad55b1b434c6eed031d6b0df593 /textw/network_text.py | |
parent | 287138b5f91b3061df3f4bb629e264eab0553799 (diff) | |
download | anaconda-c605886cce2f117cd3b74bbd32746737962b06e1.tar.gz anaconda-c605886cce2f117cd3b74bbd32746737962b06e1.tar.xz anaconda-c605886cce2f117cd3b74bbd32746737962b06e1.zip |
* isys/isys.py (inet_doConvertPrefixToNetmask): Removed since it does
not work right. Added prefix2netmask() passthrough to _isys.
* isys/isys.c (doConvertPrefixToNetmask): When Python fails, use C.
Added isys.prefix2netmask() for use in Python code to convert a CIDR
prefix to a dotted-quad format netmask (#207845).
* iw/network_gui.py (NetworkWindow): Use isys.prefix2netmask()
* textw/network_text.py (NetworkDeviceWindow): Use isys.prefix2netmask()
Diffstat (limited to 'textw/network_text.py')
-rw-r--r-- | textw/network_text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/network_text.py b/textw/network_text.py index 94cbbc0bd..aa81ae974 100644 --- a/textw/network_text.py +++ b/textw/network_text.py @@ -343,7 +343,7 @@ class NetworkDeviceWindow: valsgood = 0 break else: - val = isys.inet_convertPrefixToNetmask(val) + val = isys.prefix2netmask(val) except: handleIPMissing(screen, t) valsgood = 0 |