pcp
[Top] [All Lists]

pcp updates: one more qa fix

To: pcp@xxxxxxxxxxx
Subject: pcp updates: one more qa fix
From: Lukas Berk <lberk@xxxxxxxxxx>
Date: Tue, 15 Dec 2015 19:06:45 -0500
Cc: brolley@xxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
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.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: one more qa fix, Lukas Berk <=