[PATCH 1/3] lib: Add ip6_common_octets function

Christian Tacke Christian.Tacke+bird.network.cz at cosmokey.com
Tue Jun 6 11:08:36 CEST 2017


Hi,

just out of curiosity:


On Mon, Jun 05, 2017 at 23:49:52 +0200, Toke Høiland-Jørgensen wrote:
[...]
> +int
> +ip6_common_octets(ip6_addr a, ip6_addr b)
> +{
> +  int i, j, common = 0;
[...]

Why aren't you using an unsigned int here?


Cheers

Christian

-- 
www.cosmokey.com


More information about the Bird-users mailing list