ip: ip6_preflen_to_mask incorrect result for prefix len > 64 20/21520/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 26 Aug 2019 12:58:48 +0000 (12:58 +0000)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 26 Aug 2019 14:26:07 +0000 (14:26 +0000)
commit59ac9c23c47962fbbd935e7075ff7ee89e955847
treebec27abfac0a07e8dc6611c2f8fe3c6768a3e4c4
parente7e8bf37f100b20acb99957572f1796f648c2853
ip: ip6_preflen_to_mask incorrect result for prefix len > 64

The as_u64[0] in the result was not correctly filled in for
longer prefix lengths.

Type: fix
Fixes: 1c7104514c

Change-Id: I871772c618475396d1c1c4c699ff77e35097f07e
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/vnet/ip/ip.c