From f61261adce6fbdb3cd0e823250d73a245f0e60b4 Mon Sep 17 00:00:00 2001 From: Jakob Olsson <jakob.olsson@iopsys.eu> Date: Wed, 31 Jan 2024 16:21:13 +0100 Subject: [PATCH] comment out neigh queue debug usage --- src/neigh.c | 4 ++-- src/netlink.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/neigh.c b/src/neigh.c index 85eb5bb..cc99ae2 100644 --- a/src/neigh.c +++ b/src/neigh.c @@ -1126,7 +1126,7 @@ struct neigh_entry *neigh_enqueue(void *nq, uint8_t *macaddr, uint16_t state, dbg("%s: priv = %p\n", __func__, priv); getcurrtime(&tsp); - neigh_queue_print(q); + //neigh_queue_print(q); e = neigh_lookup(nq, macaddr); @@ -1378,7 +1378,7 @@ int neigh_dequeue(void *nq, uint8_t *macaddr, void **cookie) container_of(q, struct hostmngr_private, neigh_q); struct neigh_entry *e = NULL; - neigh_queue_print(nq); + //neigh_queue_print(nq); e = neigh_lookup(nq, macaddr); if (!e) { diff --git a/src/netlink.c b/src/netlink.c index d0fe8d1..42d8e15 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -222,7 +222,7 @@ static int hostmngr_handle_neigh_tbl_change(struct hostmngr_private *priv, bool } -#if 1 //def NEIGH_DEBUG +#if 0 //def NEIGH_DEBUG if (priv->neigh_q.pending_cnt > 0) { neigh_queue_print(&priv->neigh_q); } @@ -642,7 +642,7 @@ int hostmngr_get_known_neighbors(struct hostmngr_private *priv, char *ifname) hostmngr_update_neigh_brport(priv, ifname); } -#if 1 //def NEIGH_DEBUG +#if 0 //def NEIGH_DEBUG if (priv->neigh_q.pending_cnt > 0) { neigh_queue_print(&priv->neigh_q); } -- GitLab