diff --git a/src/neigh.c b/src/neigh.c index 85eb5bbdce19149b2b441949735add0327244a43..cc99ae2e026e6ee0fb0e1d8ac4b2c65b04d79630 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 d0fe8d1ac8782816aa1cb4c4b9c17e496d608714..42d8e153aede897c68effc7908e1751ec0a6754a 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); }