summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-07-05 05:00:07 +0000
committerdlg <dlg@openbsd.org>2019-07-05 05:00:07 +0000
commita646969665fb39ad26cf1521afd2e02a2afdcc76 (patch)
tree3a05600ee9d55bcbde9ddaf5573aaef8ac7c7a61
parentiterate over distributing ports when populating the tx map, not all ports (diff)
downloadwireguard-openbsd-a646969665fb39ad26cf1521afd2e02a2afdcc76.tar.xz
wireguard-openbsd-a646969665fb39ad26cf1521afd2e02a2afdcc76.zip
initialise sc_lacp_timeout to AGGR_LACP_TIMEOUT_SLOW, not 0;
it's the same, but there was a misleading comment on the same line which this cleans up too.
-rw-r--r--sys/net/if_aggr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_aggr.c b/sys/net/if_aggr.c
index e296e0c3008..89fd5e5f6b5 100644
--- a/sys/net/if_aggr.c
+++ b/sys/net/if_aggr.c
@@ -515,7 +515,7 @@ aggr_clone_create(struct if_clone *ifc, int unit)
sc->sc_map = NULL; /* no links yet */
sc->sc_lacp_mode = AGGR_LACP_MODE_ACTIVE;
- sc->sc_lacp_timeout = 0; /* passive */
+ sc->sc_lacp_timeout = AGGR_LACP_TIMEOUT_SLOW;
sc->sc_lacp_prio = 0x8000; /* medium */
sc->sc_lacp_port_prio = 0x8000; /* medium */