mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 11:18:43 +00:00
Merge pull request #4414 from opensourcerouting/feature/fix-isis-warnings
isisd: Fix some minor warnings
This commit is contained in:
commit
ca6af440b9
@ -168,7 +168,7 @@ DEFUN (show_lsp_flooding,
|
|||||||
area->area_tag : "null");
|
area->area_tag : "null");
|
||||||
|
|
||||||
if (lspid) {
|
if (lspid) {
|
||||||
struct isis_lsp *lsp = lsp_for_arg(head, lspid);
|
lsp = lsp_for_arg(head, lspid);
|
||||||
|
|
||||||
if (lsp)
|
if (lsp)
|
||||||
lsp_print_flooding(vty, lsp);
|
lsp_print_flooding(vty, lsp);
|
||||||
|
@ -738,11 +738,7 @@ DEFUN (clear_isis_neighbor_arg,
|
|||||||
*/
|
*/
|
||||||
void print_debug(struct vty *vty, int flags, int onoff)
|
void print_debug(struct vty *vty, int flags, int onoff)
|
||||||
{
|
{
|
||||||
char onoffs[4];
|
const char *onoffs = onoff ? "on" : "off";
|
||||||
if (onoff)
|
|
||||||
strcpy(onoffs, "on");
|
|
||||||
else
|
|
||||||
strcpy(onoffs, "off");
|
|
||||||
|
|
||||||
if (flags & DEBUG_ADJ_PACKETS)
|
if (flags & DEBUG_ADJ_PACKETS)
|
||||||
vty_out(vty,
|
vty_out(vty,
|
||||||
|
Loading…
Reference in New Issue
Block a user