changes to replaces known usages of ipaddress, leaving only ipaddress.MacAddress
This commit is contained in:
parent
f431254e15
commit
fd10663323
15 changed files with 354 additions and 380 deletions
|
@ -1764,7 +1764,7 @@ class Session:
|
|||
control_ip = node.id
|
||||
|
||||
try:
|
||||
address = control_net.prefix.addr(control_ip)
|
||||
address = control_net.prefix[control_ip]
|
||||
prefix = control_net.prefix.prefixlen
|
||||
addrlist = [f"{address}/{prefix}"]
|
||||
except ValueError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue