From 863c156d853562929f04affe46a60763a958e0af Mon Sep 17 00:00:00 2001 From: Anders Blomdell <anders.blomdell@control.lth.se> Date: Wed, 26 Aug 2015 17:06:52 +0200 Subject: [PATCH] Fixed multiple IPv6 addresses --- src/hostinfo/ifconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hostinfo/ifconfig.py b/src/hostinfo/ifconfig.py index 0086e91..3163ab4 100755 --- a/src/hostinfo/ifconfig.py +++ b/src/hostinfo/ifconfig.py @@ -118,7 +118,7 @@ def generate_ifcfgv6(tree, interface, search, nameservers): pass if len(address) > 1: config.append('IPV6ADDR_SECONDARIES="%s"' % - ' '.join(address[2:])) + ' '.join(address[1:])) pass pass return config -- GitLab