fix IPv6 addresses table lookups
authorop <op@openbsd.org>
Thu, 4 Jan 2024 09:34:03 +0000 (09:34 +0000)
committerop <op@openbsd.org>
Thu, 4 Jan 2024 09:34:03 +0000 (09:34 +0000)
commitd1ee423b109518060e744208947a97cb23d7e902
tree9e78a4070f4f158c48d4cdf93e8a0359ec067205
parented9a50d3bb49a44ad441943db2e0746b2d138d31
fix IPv6 addresses table lookups

Rework parse_sockaddr() to not reach inet_pton() with a brace-wrapped
IPv6 address.

Issue reported by Kirill Miazine.
ok millert@
usr.sbin/smtpd/table.c