diff --git a/app/static/js/path-analyzer.js b/app/static/js/path-analyzer.js index a548610..824b5a1 100644 --- a/app/static/js/path-analyzer.js +++ b/app/static/js/path-analyzer.js @@ -143,9 +143,10 @@ function paMessageMatchesFilters(msg) { if (!ok) return false; } if (paFilters.hashSize !== 'any') { - const want = parseInt(paFilters.hashSize, 10); - // Only routed echoes carry a meaningful hash size - const ok = msg.echoView.some(e => e.hops > 0 && (e.hash_size || 1) === want); + // Value is a comma list of accepted sizes (e.g. "2" or "2,3"); + // only routed echoes carry a meaningful hash size + const wanted = paFilters.hashSize.split(',').map(Number); + const ok = msg.echoView.some(e => e.hops > 0 && wanted.includes(e.hash_size || 1)); if (!ok) return false; } if (paFilters.token) { diff --git a/app/templates/path-analyzer.html b/app/templates/path-analyzer.html index 01ed5db..17b6c05 100644 --- a/app/templates/path-analyzer.html +++ b/app/templates/path-analyzer.html @@ -500,6 +500,7 @@ +