summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
Diffstat (limited to 'textw')
-rw-r--r--textw/network_text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/network_text.py b/textw/network_text.py
index aa81ae974..2f573c511 100644
--- a/textw/network_text.py
+++ b/textw/network_text.py
@@ -343,7 +343,7 @@ class NetworkDeviceWindow:
valsgood = 0
break
else:
- val = isys.prefix2netmask(val)
+ val = isys.prefix2netmask(int(val))
except:
handleIPMissing(screen, t)
valsgood = 0