mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Set the master flag on the right variable.
This commit is contained in:
parent
c0194db365
commit
139722d4e4
1 changed files with 1 additions and 1 deletions
|
|
@ -615,7 +615,7 @@ lagg_port2req(struct lagg_port *lp, struct lagg_reqport *rp)
|
|||
switch (sc->sc_proto) {
|
||||
case LAGG_PROTO_FAILOVER:
|
||||
if (lp == sc->sc_primary)
|
||||
lp->lp_flags |= LAGG_PORT_MASTER;
|
||||
rp->rp_flags |= LAGG_PORT_MASTER;
|
||||
/* FALLTHROUGH */
|
||||
case LAGG_PROTO_ROUNDROBIN:
|
||||
case LAGG_PROTO_LOADBALANCE:
|
||||
|
|
|
|||
Loading…
Reference in a new issue