02/10/2023 17:12, Vladimir Medvedkin: > Currently when adding default route as first route > it is not added and no error is reported. > When we enter the loop over an address range in > the general case we will eventually reach the check > for when the range has ended, and exit the loop. > However when adding default route as first route, > since address range covered begins and ends at zero > this also triggers loop exit without writing to the table. > > Fixed by adding check for default route, > i.e. both ledge and redge are equal to 0::0. > > Bugzilla ID: 1272 > Fixes: c3e12e0f0354 ("fib: add dataplane algorithm for IPv6") > Cc: sta...@dpdk.org > > Signed-off-by: Vladimir Medvedkin <vladimir.medved...@intel.com>
Applied, thanks.