[Bug 295434] libalias' _RandomPort() should use htons() instead of ntohs()

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Jul 2026 18:12:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295434

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=f0b8c514a18d098d9e1cfd10fa4401f277cb2f1f

commit f0b8c514a18d098d9e1cfd10fa4401f277cb2f1f
Author:     Yusuke Ichiki <public@yusuke.pub>
AuthorDate: 2026-07-10 18:11:00 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2026-07-10 18:12:10 +0000

    libalias: use htons() when converting from host to network

    PR:     295434

 sys/netinet/libalias/alias_db.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.