test: example addresses come from the documentation range

Sonos, UPnP and public-address tests used addresses from a real home
network. They now use 198.51.100.x (RFC 5737), keeping the last number.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-26 08:59:25 -05:00
co-authored by Claude Opus 5.5
parent dd27e014c0
commit 1942cb39cf
5 changed files with 13 additions and 13 deletions
@@ -265,7 +265,7 @@ class UpnpDiscoveryController @Inject constructor(
}
private companion object {
// " (192.168.0.77)" trailing host suffix some generic UPnP
// " (198.51.100.77)" trailing host suffix some generic UPnP
// devices append. Anchored to end-of-string so it never eats
// a legitimate parenthetical inside a name.
val IP_SUFFIX_REGEX = Regex("""\s*\(\d+\.\d+\.\d+\.\d+\)$""")