summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-11-04 20:16:07 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-11-04 20:16:07 +0000
commit2328428d2004fc83f3d3ca31d4a482d64ec149f3 (patch)
treea262da6524044fcd091b74b547eb728ca09f21a2
parentfa496b0a2e5e980664365fd34ba3d066e79f2a94 (diff)
ospfd, lib: Fix `no pce address` syntax
And change parser debugging messages to zlog_debug Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
-rw-r--r--lib/command_parse.y2
-rw-r--r--ospfd/ospf_ri.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y
index 8da08c36d1..680a74ccd2 100644
--- a/lib/command_parse.y
+++ b/lib/command_parse.y
@@ -459,7 +459,7 @@ doc_next (struct cmd_element *el)
const char *piece = docstr ? strsep (&docstr, "\n") : "";
if (*piece == 0x03)
{
- zlog_warn ("Ran out of docstring while parsing '%s'", el->string);
+ zlog_debug ("Ran out of docstring while parsing '%s'", el->string);
piece = "";
}
diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c
index 30d203f5b5..28957e04c6 100644
--- a/ospfd/ospf_ri.c
+++ b/ospfd/ospf_ri.c
@@ -1307,7 +1307,7 @@ DEFUN (pce_address,
DEFUN (no_pce_address,
no_pce_address_cmd,
- "no pce address {A.B.C.D}",
+ "no pce address [A.B.C.D]",
NO_STR
PCE_STR
"Disable PCE address\n"
@@ -1358,7 +1358,7 @@ DEFUN (pce_path_scope,
DEFUN (no_pce_path_scope,
no_pce_path_scope_cmd,
- "no pce scope {BITPATTERN}",
+ "no pce scope [BITPATTERN]",
NO_STR
PCE_STR
"Disable PCE path scope\n"