summaryrefslogtreecommitdiffstats
path: root/addr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* upstream: be stricter in which characters will be accepted indjm@openbsd.org2022-05-021-2/+2
| | | | | | | specifying a mask length; allow only 0-9. From khaleesicodes via GHPR#278; ok dtucker@ OpenBSD-Commit-ID: e267746c047ea86665cdeccef795a8a56082eeb2
* upstream: Plug mem addrinfo mem leaks.dtucker@openbsd.org2021-10-221-5/+17
| | | | | | | | Prevent mem leaks in the (unlikely) event that getaddrinfo returns no addresses. ALso, remove an unneeded NULL check in addr_ntop. From khaleesicodes via github PR#281, ok deraadt@ OpenBSD-Commit-ID: e8a5afc686376637c355c5f7e122dc4b080b9c1a
* upstream: Remove unnecessary semicolonsdtucker@openbsd.org2021-10-221-3/+3
| | | | | | ... in case statements. From khaleesicodes via github PR#280. OpenBSD-Commit-ID: e1e89360b65775cff83e77ce040b342015caf4ed
* upstream: Fix typos in comments.dtucker@openbsd.org2021-10-221-3/+3
| | | | | | From khaleesicodes via github PR#280. OpenBSD-Commit-ID: 26fdd83652c40f098bf7c685e8ebb9eb72cc45fc
* ifdef new instance of sin6_scope_idDarren Tucker2021-01-231-0/+2
| | | | | Put inside HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID similar to existing instance. Should fix error on UnixWare 7.
* upstream: Move address handling functions out into their own filedtucker@openbsd.org2021-01-111-0/+421
in order to reuse them for per-source maxstartups limiting. Supplement with some additional functions from djm's flowtools that we'll also need. ok djm@ (as part of a larger diff). OpenBSD-Commit-ID: e3e7d9ccc6c9b82e25cfef0ec83598e8e2327cbf