Date: Fri, 13 Mar 2026 20:30:15 +0000 From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 77e0c9c3414c - main - inpcb: in in_pcbbind() use bool for anonport Message-ID: <69b473d7.3e529.708ed5c3@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=77e0c9c3414cbe30eb7f376bf9c8531ca0f097ff commit 77e0c9c3414cbe30eb7f376bf9c8531ca0f097ff Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2026-03-05 20:47:51 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2026-03-13 20:29:50 +0000 inpcb: in in_pcbbind() use bool for anonport --- sys/netinet/in_pcb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 96c8d3c73b0e..e375f0edcc7e 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -715,7 +715,8 @@ int in_pcbbind(struct inpcb *inp, struct sockaddr_in *sin, int flags, struct ucred *cred) { - int anonport, error; + int error; + bool anonport; KASSERT(sin == NULL || sin->sin_family == AF_INET, ("%s: invalid address family for %p", __func__, sin));home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b473d7.3e529.708ed5c3>
