The branch main has been updated by mhorne:

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

commit d6dcd8d2c3ef8cd3fae94b43c6dfe9986ee33985
Author:     Mitchell Horne <[email protected]>
AuthorDate: 2026-07-27 13:49:35 +0000
Commit:     Mitchell Horne <[email protected]>
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 <[email protected]>
    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" ]; then

Reply via email to