2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-11 10:45:31 +00:00

Fix another error in the psutils work

This commit is contained in:
Jarrod Johnson
2025-06-09 14:45:43 -04:00
parent 65b613219e
commit 59dc7b5426
+1 -1
View File
@@ -41,7 +41,7 @@ def mask_to_cidr(mask):
fam = socket.AF_INET6
cidr = 128
maskn = socket.inet_pton(fam, mask)
if len(maskn) == 4
if len(maskn) == 4:
maskn = struct.unpack('!I', maskn)[0]
else:
first, second = struct.unpack('!QQ', maskn)