diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2026-03-05 20:47:51 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2026-03-13 20:29:50 +0000 |
| commit | 77e0c9c3414cbe30eb7f376bf9c8531ca0f097ff (patch) | |
| tree | a31e92a0a3979784828c7ee0739b3cea619e29a9 | |
| parent | 78c4f821f43d530ba1f2a6308a64a8483208ebe3 (diff) | |
inpcb: in in_pcbbind() use bool for anonport
| -rw-r--r-- | sys/netinet/in_pcb.c | 3 |
1 files changed, 2 insertions, 1 deletions
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)); |
