isisd, lib, vtysh: Allow extract.pl to fully work

The regular expression for finding DEFUN/ALIAS in
extract.pl looks for "DEFUN (" or "ALIAS (" if
the *.c file does not have this then it will just
silently ignore the cli.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2016-09-17 07:25:35 -04:00
parent 3176e70c10
commit 49d41a26c6
7 changed files with 120 additions and 107 deletions

View File

@ -1234,6 +1234,19 @@ DEFUN (debug_isis_lsp_sched,
return CMD_SUCCESS;
}
DEFUN (no_debug_isis_lsp_sched,
no_debug_isis_lsp_sched_cmd,
"no debug isis lsp-sched",
UNDEBUG_STR
"IS-IS information\n"
"IS-IS scheduling of LSP generation\n")
{
isis->debugs &= ~DEBUG_LSP_SCHED;
print_debug (vty, DEBUG_LSP_SCHED, 0);
return CMD_SUCCESS;
}
DEFUN (show_hostname,
show_hostname_cmd,
"show isis hostname",

View File

@ -212,7 +212,7 @@ foreach (@ARGV) {
}
}
my $bad_cli_stomps = 107;
my $bad_cli_stomps = 108;
# Currently we have $bad_cli_stomps. This was determined by
# running this script and counting up the collisions from what
# was returned.