commit 9bfab08e43c14e3b4ac01836c2203bdbadc77636 parent b243d57af614d76e6895a929fc511c7eaab18dad Author: Yersa Nordman <yersa@finwo.nl> Date: Fri, 13 Oct 2023 22:57:44 +0200 Disabled fast routing-table purging Diffstat:
| M | src/main.c | | | 18 | +++++++++--------- |
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/main.c b/src/main.c @@ -135,15 +135,15 @@ void handle_packet_iface(struct pmlag_iface *iface) { bcid = ntohs(bcid); bond->bc_id = bcid; - // Remove old entries from routing table - for( idx = 0; idx < bond->rt->length ; idx++ ) { - rt_entry = bond->rt->items[idx]; - if ((bcid - rt_entry->bcidx) > PMLAG_RT_FAST) { - mindex_delete(bond->rt, rt_entry); // rt_entry is now unsafe - continue; - } - // More things here? - } + /* // Remove old entries from routing table */ + /* for( idx = 0; idx < bond->rt->length ; idx++ ) { */ + /* rt_entry = bond->rt->items[idx]; */ + /* if ((bcid - rt_entry->bcidx) > PMLAG_RT_FAST) { */ + /* mindex_delete(bond->rt, rt_entry); // rt_entry is now unsafe */ + /* continue; */ + /* } */ + /* // More things here? */ + /* } */ break; default: