summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/srh.t
Commit message (Collapse)AuthorAgeFilesLines
* segtree: Fix for last elem at interval endPhil Sutter2018-04-141-3/+3
| | | | | | | | | | | | | | Unclosed interval check at end of interval_map_decompose() missed to check whether interval start is the last possible element in given set before creating a range expression. This led to the last element incorrectly printed as range from itself to itself. Fix this by comparing the upper boundary against the lower one. In order to keep indenting level low, invert the entry check and jump to the end if it matches. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* tests: add srh test casesFlorian Westphal2018-03-171-0/+22
Signed-off-by: Florian Westphal <fw@strlen.de>