diff options
| author | Mitchell Horne <mhorne@FreeBSD.org> | 2026-07-27 13:49:35 +0000 |
|---|---|---|
| committer | Mitchell Horne <mhorne@FreeBSD.org> | 2026-07-28 14:30:52 +0000 |
| commit | d6dcd8d2c3ef8cd3fae94b43c6dfe9986ee33985 (patch) | |
| tree | cd3dc6a03d98059893af1757b3c140c52d702252 | |
| parent | 744cc514567d33d38986f0ff7de009f786acc180 (diff) | |
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
| -rw-r--r-- | lib/libsysdecode/mktables | 2 |
1 files changed, 1 insertions, 1 deletions
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" ]; then |
