Date: Tue, 28 Jul 2026 14:31:00 +0000 From: Mitchell Horne <mhorne@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: d6dcd8d2c3ef - main - libsysdecode: fix nlm_flag regex in mktables Message-ID: <6a68bd24.1cdbd.48ac825a@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=d6dcd8d2c3ef8cd3fae94b43c6dfe9986ee33985 commit d6dcd8d2c3ef8cd3fae94b43c6dfe9986ee33985 Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2026-07-27 13:49:35 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2026-07-28 14:30:52 +0000 libsysdecode: fix nlm_flag regex in mktables Some NLM_F_ definitions contain multiple underscores in their name; this should pick them up. Reviewed by: kp, Ishan Agrawal <iagrawal9990@gmail.com> Fixes: 4c932a4d45fb ("netlink: decode netlink message flags symbolically") Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/2340 --- lib/libsysdecode/mktables | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libsysdecode/mktables b/lib/libsysdecode/mktables index 9e08246d50cc..bb784c853e48 100644 --- a/lib/libsysdecode/mktables +++ b/lib/libsysdecode/mktables @@ -190,7 +190,7 @@ fi gen_table "shmflags" "SHM_[A-Z_]+[[:space:]]+0x[0-9]+" "sys/mman.h" "SHM_ANON" gen_table "itimerwhich" "ITIMER_[A-Z]+[[:space:]]+[0-9]+" "sys/time.h" gen_table_enum "pfnl_cmd" "PFNL_CMD_[A-Z_]+" "netpfil/pf/pf_nl.h" -gen_table "nlm_flag" "NLM_F_[A-Z]+[[:space:]]+0x[0-9]+" "netlink/netlink.h" +gen_table "nlm_flag" "NLM_F_[A-Z_]+[[:space:]]+0x[0-9]+" "netlink/netlink.h" # Generate a .depend file for our output file if [ -n "$output_file" ]; thenhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a68bd24.1cdbd.48ac825a>
