summaryrefslogtreecommitdiffstats
path: root/lib/grammar_sandbox.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-08-01 15:18:25 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-08-01 15:18:25 +0200
commit6d53a10e4cf873ff61a3dada644d15be83dd54c0 (patch)
treec5c59a7b402956be4e78a5028a93554a3141d8d1 /lib/grammar_sandbox.c
parentlib: Retab command_match.c (diff)
downloadfrr-6d53a10e4cf873ff61a3dada644d15be83dd54c0.tar.xz
frr-6d53a10e4cf873ff61a3dada644d15be83dd54c0.zip
lib: Add partial matching support
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/grammar_sandbox.c')
-rw-r--r--lib/grammar_sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/grammar_sandbox.c b/lib/grammar_sandbox.c
index 2443b8471..66e530595 100644
--- a/lib/grammar_sandbox.c
+++ b/lib/grammar_sandbox.c
@@ -56,7 +56,7 @@ DEFUN (grammar_test_complete,
// print possible next hops, if any
for (ALL_LIST_ELEMENTS_RO(result,node,cnode)) {
if (cnode->type == END_GN)
- fprintf(stderr, "<cr>\n");
+ fprintf(stderr, "<cr> %p\n", cnode->element->func);
else
fprintf(stderr, "%s\n", describe_node(cnode, desc, 50));
}