From 5e085e529da67deac8171f5a34274f5af7d94492 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sun, 14 Feb 2021 01:35:47 +0100 Subject: [PATCH] lib: get rid of padding in struct cmd_element This makes the Python code looking at xrefs much easier. Signed-off-by: David Lamparter --- lib/command_graph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/command_graph.h b/lib/command_graph.h index 09824460e6..86715410ce 100644 --- a/lib/command_graph.h +++ b/lib/command_graph.h @@ -99,7 +99,7 @@ struct cmd_element { const char *string; /* Command specification by string. */ const char *doc; /* Documentation of this command. */ int daemon; /* Daemon to which this command belong. */ - uint8_t attr; /* Command attributes */ + uint32_t attr; /* Command attributes */ /* handler function for command */ int (*func)(const struct cmd_element *, struct vty *, int, -- 2.39.5