Commit 33cc6bd
bridge: fix IPv6 address order assumption in test
Linux kernel v7.0 changed same-scope IPv6 address insertion from
prepend to append (torvalds/linux@cb3de96eea66),
causing AddrList to return addresses in insertion order rather than
reverse order. Replace index-based checks in checkBridgeIPs with
ContainElement to make the test order-independent.
Signed-off-by: Yusho Yamaguchi <ys-yamaguchi@kddi.com>1 parent d653d38 commit 33cc6bd
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2255 | 2255 | | |
2256 | 2256 | | |
2257 | 2257 | | |
2258 | | - | |
2259 | | - | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
2260 | 2263 | | |
2261 | | - | |
2262 | | - | |
| 2264 | + | |
2263 | 2265 | | |
2264 | 2266 | | |
2265 | 2267 | | |
| |||
0 commit comments