[config_validation] Fix multicast typo in error message (#17206)

This commit is contained in:
Jesse Hills
2026-06-25 08:28:43 -04:00
committed by GitHub
parent e5d8c22b47
commit 46cf052ec5
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -1494,9 +1494,7 @@ def ipv6address(value):
def ipv4address_multi_broadcast(value):
address = ipv4address(value)
if not (address.is_multicast or (address == IPv4Address("255.255.255.255"))):
raise Invalid(
f"{value} is not a multicasst address nor local broadcast address"
)
raise Invalid(f"{value} is not a multicast address nor local broadcast address")
return address
+1 -1
View File
@@ -1926,7 +1926,7 @@ def test_ipv4address_multi_broadcast_broadcast() -> None:
def test_ipv4address_multi_broadcast_invalid() -> None:
with pytest.raises(Invalid, match="not a multicasst"):
with pytest.raises(Invalid, match="not a multicast"):
cv.ipv4address_multi_broadcast("192.168.0.1")