mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 01:14:48 +00:00
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:
parent
3176e70c10
commit
49d41a26c6
@ -1234,6 +1234,19 @@ DEFUN (debug_isis_lsp_sched,
|
|||||||
return CMD_SUCCESS;
|
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,
|
DEFUN (show_hostname,
|
||||||
show_hostname_cmd,
|
show_hostname_cmd,
|
||||||
"show isis hostname",
|
"show isis hostname",
|
||||||
|
@ -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
|
# Currently we have $bad_cli_stomps. This was determined by
|
||||||
# running this script and counting up the collisions from what
|
# running this script and counting up the collisions from what
|
||||||
# was returned.
|
# was returned.
|
||||||
|
Loading…
Reference in New Issue
Block a user