pmlag

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

commit 3b4d298b6930859339556503645448fbae0b6849
parent 08440bb39d5677b4726da8b53e48c63a85d2938b
Author: Yersa Nordman <yersa@finwo.nl>
Date:   Wed, 22 Feb 2023 20:54:50 +0100

bcidx should always be nonzero

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

diff --git a/src/main.c b/src/main.c @@ -357,7 +357,7 @@ int main(int argc, const char **argv) { } iface = iface->next; } - bond->bcidx = htons(ntohs(bond->bcidx)+1); + bond->bcidx = htons((ntohs(bond->bcidx)+1)|1); bond = bond->next; } /* usleep(100000); // 100ms */