mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 23:29:36 +00:00
zebra: Remove some extraneous zebra_nhg logging
Remove some extraneos zebra_nhg logging that was being used during development. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
6e3af3f17a
commit
8654a42cd5
@ -809,16 +809,13 @@ void zebra_nhg_free(void *arg)
|
|||||||
|
|
||||||
static void zebra_nhg_release(struct nhg_hash_entry *nhe)
|
static void zebra_nhg_release(struct nhg_hash_entry *nhe)
|
||||||
{
|
{
|
||||||
zlog_debug("Releasing nexthop group with ID (%u)", nhe->id);
|
|
||||||
|
|
||||||
/* Remove it from any lists it may be on */
|
/* Remove it from any lists it may be on */
|
||||||
zebra_nhg_depends_release(nhe);
|
zebra_nhg_depends_release(nhe);
|
||||||
zebra_nhg_dependents_release(nhe);
|
zebra_nhg_dependents_release(nhe);
|
||||||
if (nhe->ifp)
|
if (nhe->ifp)
|
||||||
if_nhg_dependents_del(nhe->ifp, nhe);
|
if_nhg_dependents_del(nhe->ifp, nhe);
|
||||||
|
|
||||||
if(!hash_release(zrouter.nhgs, nhe))
|
hash_release(zrouter.nhgs, nhe);
|
||||||
zlog_debug("Failed release");
|
|
||||||
hash_release(zrouter.nhgs_id, nhe);
|
hash_release(zrouter.nhgs_id, nhe);
|
||||||
|
|
||||||
zebra_nhg_free(nhe);
|
zebra_nhg_free(nhe);
|
||||||
@ -1534,7 +1531,6 @@ void zebra_nhg_install_kernel(struct nhg_hash_entry *nhe)
|
|||||||
|
|
||||||
void zebra_nhg_uninstall_kernel(struct nhg_hash_entry *nhe)
|
void zebra_nhg_uninstall_kernel(struct nhg_hash_entry *nhe)
|
||||||
{
|
{
|
||||||
zlog_debug("Uninstalling NHE ID: %u", nhe->id);
|
|
||||||
if (CHECK_FLAG(nhe->flags, NEXTHOP_GROUP_INSTALLED)) {
|
if (CHECK_FLAG(nhe->flags, NEXTHOP_GROUP_INSTALLED)) {
|
||||||
int ret = dplane_nexthop_delete(nhe);
|
int ret = dplane_nexthop_delete(nhe);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user