diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2025-01-22 11:23:31 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2025-02-11 09:47:32 +0100 | 
| commit | d4f9f9588f4b936afb5ac8e47f7899df39869e4b (patch) | |
| tree | a000cad00dd01c32e5489a7814c59249a836c731 /tests | |
| parent | 3c6cfe4c566939d7ccd3f09adc6142406c92e113 (diff) | |
lib: clean up nexthop hashing mess
We were hashing 4 bytes of the address.  Even for IPv6 addresses.
Oops.
The reason this was done was to try to make it faster, but made a
complex maze out of everything.  Time for a refactor.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 001fcfa1dd9f7dc2639b4f5c7a52ab59cc425452)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
