diff options
author | Christian Franke <chris@opensourcerouting.org> | 2013-09-30 12:27:51 +0000 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2014-04-01 20:21:41 +0200 |
commit | cd40b329a2e4da882bcad0431c048c876bbeafbd (patch) | |
tree | cfbdec5a7559c6d3e56766797896a18809aa1746 /lib/memtypes.c | |
parent | e712d0e3667ffad8109ef8bce3ce01927ee95bb7 (diff) | |
download | quagga-cd40b329a2e4da882bcad0431c048c876bbeafbd.tar.bz2 quagga-cd40b329a2e4da882bcad0431c048c876bbeafbd.tar.xz |
lib/command.c: rewrite command matching/parsing
Add support for keyword commands.
Includes new documentation for DEFUN() in lib/command.h, for preexisting
features as well as new keyword specification.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/memtypes.c')
-rw-r--r-- | lib/memtypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/memtypes.c b/lib/memtypes.c index 50b6fa42..47a34387 100644 --- a/lib/memtypes.c +++ b/lib/memtypes.c @@ -54,7 +54,7 @@ struct memory_list memory_list_lib[] = { MTYPE_ROUTE_MAP_RULE, "Route map rule" }, { MTYPE_ROUTE_MAP_RULE_STR, "Route map rule str" }, { MTYPE_ROUTE_MAP_COMPILED, "Route map compiled" }, - { MTYPE_DESC, "Command desc" }, + { MTYPE_CMD_TOKENS, "Command desc" }, { MTYPE_KEY, "Key" }, { MTYPE_KEYCHAIN, "Key chain" }, { MTYPE_IF_RMAP, "Interface route map" }, |