diff options
Diffstat (limited to 'ripngd')
-rw-r--r-- | ripngd/ripng_cli.c | 2 | ||||
-rw-r--r-- | ripngd/ripng_debug.c | 2 | ||||
-rw-r--r-- | ripngd/ripngd.c | 7 | ||||
-rw-r--r-- | ripngd/subdir.am | 5 |
4 files changed, 9 insertions, 7 deletions
diff --git a/ripngd/ripng_cli.c b/ripngd/ripng_cli.c index ded2f4358..049a392dd 100644 --- a/ripngd/ripng_cli.c +++ b/ripngd/ripng_cli.c @@ -30,9 +30,7 @@ #include "ripngd/ripngd.h" #include "ripngd/ripng_nb.h" -#ifndef VTYSH_EXTRACT_PL #include "ripngd/ripng_cli_clippy.c" -#endif /* * XPath: /frr-ripngd:ripngd/instance diff --git a/ripngd/ripng_debug.c b/ripngd/ripng_debug.c index 539c01b3e..d36327cb7 100644 --- a/ripngd/ripng_debug.c +++ b/ripngd/ripng_debug.c @@ -56,6 +56,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; } diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index 1e7a13d7d..755debd0a 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -2581,10 +2581,17 @@ static int ripng_vrf_new(struct vrf *vrf) static int ripng_vrf_delete(struct vrf *vrf) { + struct ripng *ripng; + if (IS_RIPNG_DEBUG_EVENT) zlog_debug("%s: VRF deleted: %s(%u)", __func__, vrf->name, vrf->vrf_id); + ripng = ripng_lookup_by_vrf_name(vrf->name); + if (!ripng) + return 0; + + ripng_clean(ripng); return 0; } diff --git a/ripngd/subdir.am b/ripngd/subdir.am index a4db3e5a6..162426c58 100644 --- a/ripngd/subdir.am +++ b/ripngd/subdir.am @@ -4,11 +4,6 @@ if RIPNGD sbin_PROGRAMS += ripngd/ripngd -vtysh_scan += \ - ripngd/ripng_cli.c \ - ripngd/ripng_debug.c \ - ripngd/ripngd.c \ - # end vtysh_daemons += ripngd man8 += $(MANBUILD)/frr-ripngd.8 endif |