ipv6: fix IPv6 address matching algorithm
Merge pull request #2007 from authmillenon/ipv6-match-fix

ipv6: fix IPv6 address matching algorithm