summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-04-16 12:55:02 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-16 12:55:59 +0200
commitd1b221f696b4d3ed3cd7f5b0ae1f19a07f87fd80 (patch)
treeb5f13bbfd5ccdf90d99a5d028089a40df6daea0a /lib/command.h
parentd42eb1019e4c49ed6a1823ca42de3b90f8b351ca (diff)
lib: #define FRR_CMD_NODE_20200416
... requested by Lou. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index e7c9ff4c52..719ee9fbac 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -167,6 +167,9 @@ enum node_type {
extern vector cmdvec;
extern const struct message tokennames[];
+/* for external users depending on struct layout */
+#define FRR_CMD_NODE_20200416
+
/* Node which has some commands and prompt string and configuration
function pointer . */
struct cmd_node {