aboutsummaryrefslogtreecommitdiff
path: root/lib/libsysdecode/flags.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libsysdecode/flags.c')
-rw-r--r--lib/libsysdecode/flags.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libsysdecode/flags.c b/lib/libsysdecode/flags.c
index 8009a7a2f97e..983314e56369 100644
--- a/lib/libsysdecode/flags.c
+++ b/lib/libsysdecode/flags.c
@@ -70,6 +70,7 @@
#include <netgraph/bluetooth/include/ng_l2cap.h>
#include <netgraph/bluetooth/include/ng_btsocket.h>
#include <netpfil/pf/pf_nl.h>
+#include <netlink/netlink.h>
#include "support.h"
@@ -1215,3 +1216,10 @@ sysdecode_pfnl_cmd(int cmd)
return (lookup_value(pfnl_cmd, cmd));
}
+
+const char *
+sysdecode_nlm_flag(int flag)
+{
+
+ return (lookup_value(nlm_flag, flag));
+}