]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd, lib: Fix `no pce address` syntax
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 4 Nov 2016 20:16:07 +0000 (20:16 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 4 Nov 2016 20:16:07 +0000 (20:16 +0000)
And change parser debugging messages to zlog_debug

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command_parse.y
ospfd/ospf_ri.c

index 8da08c36d1bfad777003c3800971083ff8069f15..680a74ccd2ae4335a4802ac53bf8e7ee97c69a73 100644 (file)
@@ -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 = "";
   }
 
index 30d203f5b50d37b4fe477f71ce720d4f48fbe46a..28957e04c64136e7943652317baad2989eb13650 100644 (file)
@@ -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"