summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-03-05 23:32:40 +0000
committerJeremy Katz <katzj@redhat.com>2002-03-05 23:32:40 +0000
commitea98ac5fd4999a9c2cf3dc09833aea1673d9c086 (patch)
tree06f71153721e471c559cdd4003c370f6a67f1430
parent5abeae20d06adafd9bc3c0335aa7925b0e836e70 (diff)
downloadanaconda-ea98ac5fd4999a9c2cf3dc09833aea1673d9c086.tar.gz
anaconda-ea98ac5fd4999a9c2cf3dc09833aea1673d9c086.tar.xz
anaconda-ea98ac5fd4999a9c2cf3dc09833aea1673d9c086.zip
classed routing has been dead for a while now really... hooray for cidr (#50886)
-rw-r--r--iw/network_gui.py2
-rw-r--r--textw/network_text.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/iw/network_gui.py b/iw/network_gui.py
index 1c574cae5..c671e9a23 100644
--- a/iw/network_gui.py
+++ b/iw/network_gui.py
@@ -135,7 +135,7 @@ class NetworkWindow(InstallWindow):
if valid_ip == gtk.TRUE:
try:
- new_nm = inet_calcNetmask(ip)
+ new_nm = "255.255.255.0"
if(new_nm != nm.get_text()):
nm.set_text(new_nm)
except:
diff --git a/textw/network_text.py b/textw/network_text.py
index 72ce53b76..53674a89f 100644
--- a/textw/network_text.py
+++ b/textw/network_text.py
@@ -32,7 +32,7 @@ class NetworkWindow:
ip = self.ip.value ()
if ip and not self.nm.value ():
try:
- mask = isys.inet_calcNetmask (ip)
+ mask = "255.255.255.0"
except ValueError:
return