remove '+' for ip6_addr
This commit is contained in:
parent
d8b84699a5
commit
ed2754f676
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Network():
|
|||
continue
|
||||
|
||||
ip_addr = netifaces.ifaddresses(interface).get(netifaces.AF_INET)
|
||||
ip6_addr += netifaces.ifaddresses(interface).get(netifaces.AF_INET6)
|
||||
ip6_addr = netifaces.ifaddresses(interface).get(netifaces.AF_INET6)
|
||||
|
||||
# netifaces returns a ipv6 netmask that netaddr does not understand.
|
||||
# this strips the netmask down to the correct format for netaddr.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue