set_localaddrs(): don't wrap IPv6s address with braces twice
authorop <op@openbsd.org>
Thu, 4 Jan 2024 09:30:09 +0000 (09:30 +0000)
committerop <op@openbsd.org>
Thu, 4 Jan 2024 09:30:09 +0000 (09:30 +0000)
commited9a50d3bb49a44ad441943db2e0746b2d138d31
treeaad4330c2b9f4719695a42ddae6face8ddaaf6ba
parent9c887effe59fe24e35e1e1a370e24a5ae51e393a
set_localaddrs(): don't wrap IPv6s address with braces twice

ss_to_text() already wraps ipv6 addresses in braces, so no need to do it
again and no need to do that for IPv4 addresses too.

ok millert@
usr.sbin/smtpd/config.c