Hi,
In some of the tests for the weekly rawhide spins we put together, some
architectures failed qa/892 due to an incorrect ip address. Dave kindly
pointed out to me that link-local ipv6 addresses only append the device
name if the address starts with 'fe80::'. _host_to_ipv6addrs in
common.check was always appending the device name, leading to the fail.
This change checks for the 'fe80::' and adjusts the ipv6 address
returned accordingly.
Changes committed to git://git.pcp.io/lberk/pcp master
Lukas Berk (1):
Fix qa/common.check link-local ipv6 addresses
qa/common.check | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Details ...
commit ebe8c4d569525916ae9fcf22851c434719181716
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date: Tue Dec 15 18:55:00 2015 -0500
Fix qa/common.check link-local ipv6 addresses
_host_to_ipv6addrs() was always appending the device name to the ipv6
address, unless the ipv6 address is prepended with a "fe80::", then the
device name is unecessary and incorrect. This check and adjustment
fixes instances where 892 fails.
|