Fix flaky testDhcp6Pd_multipleIaPrefixOptions.

Kernel generates the multicast route on T devices something like
ff00::/8 -> :: testtap0 mtu 0, however, this route doesn't exist on
other version. Therefore, this test always fails when running on a
T device. Instead of checking how many routes a device gets via
onLinkPropertiesChange, we only consider the number of link address
on LinkProperties, it's a fixed number on all platforms.

Bug: 317024540
Test: atest testDhcp6Pd_multipleIaPrefixOptions --iterations
Change-Id: I373405175430c4ed15f3b9c22641690f94f769c9
1 file changed