Skip to content
Success

Changes

Summary

  1. tests/vty: Show bug inserting routes with different priority (details)
Commit 48be524ca144fbd3c18151c31673bbc829ab561b by Pau Espin Pedrol
tests/vty: Show bug inserting routes with different priority

route lookup ((hmrt_message_for_routing() => osmo_ss7_route_lookup() =>
osmo_ss7_route_find_dpc_mask())) iterates the list of routes assuming they are
ordered by mask length (so it doesn't need to iterate the full list every
time). Similary, it implicitly seems to assume that the entries are also
sorted by priority.

However, priority is not currently taken into account when being
inserted in the routing table, so the route ends up in the incorrect
place.

This commit adds a VTY test showing the wrong insert.

Related: SYS#7112
Change-Id: I125046fcbc7563c3275f42ff9de2aa351ae616c1
The file was modifiedtests/vty/Makefile.am
The file was addedtests/vty/osmo_stp_route_prio.vty