[PATCH 1/2] idiag: add missing enum types for idiagnl_exts2str()

Thomas Haller thaller at redhat.com
Tue Nov 25 02:35:02 PST 2014


Signed-off-by: Thomas Haller <thaller at redhat.com>
---
 lib/idiag/idiag.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/idiag/idiag.c b/lib/idiag/idiag.c
index d8f5065..11d3810 100644
--- a/lib/idiag/idiag.c
+++ b/lib/idiag/idiag.c
@@ -164,6 +164,8 @@ static const struct trans_tbl idiag_exts[] = {
 	__ADD(INET_DIAG_CONG, congestion),
 	__ADD(INET_DIAG_TOS, tos),
 	__ADD(INET_DIAG_TCLASS, tclass),
+	__ADD(INET_DIAG_SKMEMINFO, skmeminfo),
+	__ADD(INET_DIAG_SHUTDOWN, shutdown),
 };
 
 /**
-- 
1.9.3




More information about the libnl mailing list