pmlag

Poor man's link aggregation
git clone git://git.finwo.net/app/pmlag
Log | Files | Refs | README | LICENSE

commit 7cf515c5eed90351839fb0f4ef00050b77b197d5
parent 84ed296b712c9f7abace6cacc254a83a87df9c06
Author: Yersa Nordman <yersa@finwo.nl>
Date:   Mon, 20 Mar 2023 22:26:27 +0100

Remove saddr_ll reference to run experiment

Diffstat:
Msrc/task/bond.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/task/bond.c b/src/task/bond.c @@ -30,7 +30,7 @@ int task_bond_onpacket(struct pmlag_bond *bond, unsigned char *buffer, size_t bu #endif // DEBUG // Get interface to send the packet from - memcpy(saddr_ll.sll_addr, buffer, ETH_ALEN); + /* memcpy(saddr_ll.sll_addr, buffer, ETH_ALEN); */ struct pmlag_iface *iface = (memcmp(buffer, "\xFF\xFF\xFF\xFF\xFF\xFF", ETH_ALEN) == 0) ? NULL : rt_find(bond->rt, &(bond->mtx_rt), buffer);