]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: get rid of padding in struct cmd_element
authorDavid Lamparter <equinox@diac24.net>
Sun, 14 Feb 2021 00:35:47 +0000 (01:35 +0100)
committerDavid Lamparter <equinox@diac24.net>
Tue, 23 Feb 2021 15:56:58 +0000 (16:56 +0100)
This makes the Python code looking at xrefs much easier.

Signed-off-by: David Lamparter <equinox@diac24.net>
lib/command_graph.h

index 09824460e63cc799af5d96f80db7fbb9a2b723fa..86715410ce69437962ec3e372a0964b4b79f7022 100644 (file)
@@ -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,