Commit cf107e90 authored by Morten Knutsen's avatar Morten Knutsen

Do not return link local IPv6 addresses.

parent 4d12ffed
......@@ -353,6 +353,7 @@ class VMMClient(Client):
addresses['v4'] = [a for a in addresses['v4'] if a != "127.0.0.1"]
addresses['v6'] = [a for a in addresses['v6'] if a]
addresses['v6'] = [a for a in addresses['v6'] if a != "::1"]
addresses['v6'] = [a for a in addresses['v6'] if not a.startswith("fe80::")]
return addresses
......
......@@ -8,7 +8,7 @@ requires = [
]
setup(name='scvmm-client-py',
version='0.11',
version='0.12',
description='',
author='',
author_email='',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment