X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ripngd%2Fripng_debug.c;h=c56ff126271bcbb0d06a0d9ac0c094e7e3ca837c;hb=HEAD;hp=54edb17eccc2246682939a396d20e4fccb73c27b;hpb=e3dafc25805c5473dff1f0a728787beaec1799d6;p=mirror_frr.git diff --git a/ripngd/ripng_debug.c b/ripngd/ripng_debug.c index 54edb17ec..5ddd7acf3 100644 --- a/ripngd/ripng_debug.c +++ b/ripngd/ripng_debug.c @@ -1,22 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * RIPng debug output routines * Copyright (C) 1998 Kunihiro Ishiguro - * - * This file is part of GNU Zebra. - * - * GNU Zebra is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2, or (at your option) any - * later version. - * - * GNU Zebra is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; see the file COPYING; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include @@ -56,6 +41,8 @@ DEFUN_NOSH (show_debugging_ripng, if (IS_RIPNG_DEBUG_ZEBRA) vty_out(vty, " RIPng zebra debugging is on\n"); + cmd_show_lib_debugs(vty); + return CMD_SUCCESS; } @@ -218,7 +205,7 @@ void ripng_debug_init(void) install_node(&debug_node); - install_element(VIEW_NODE, &show_debugging_ripng_cmd); + install_element(ENABLE_NODE, &show_debugging_ripng_cmd); install_element(ENABLE_NODE, &debug_ripng_events_cmd); install_element(ENABLE_NODE, &debug_ripng_packet_cmd);