summaryrefslogtreecommitdiff
path: root/lib/command_graph.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-02-14 01:35:47 +0100
committerDavid Lamparter <equinox@diac24.net>2021-02-23 16:56:58 +0100
commit5e085e529da67deac8171f5a34274f5af7d94492 (patch)
tree2823fd126db566fce46e18fbda792398ecd7bb53 /lib/command_graph.h
parent2621bb8b8dee4222da22bbc5c8036de70af096fb (diff)
lib: get rid of padding in struct cmd_element
This makes the Python code looking at xrefs much easier. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/command_graph.h')
-rw-r--r--lib/command_graph.h2
1 files changed, 1 insertions, 1 deletions
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,