aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_lagg.c
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2007-05-02 08:58:28 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2007-05-02 08:58:28 +0000
commit139722d4e407fa5a4cd43a139b98dff7a228e44e (patch)
tree8a7d205e64f3b03a9099c6c33d718b99d531e5cc /sys/net/if_lagg.c
parentc0194db36564e67eaeca70df7b7fc16569aa5899 (diff)
Notes
Diffstat (limited to 'sys/net/if_lagg.c')
-rw-r--r--sys/net/if_lagg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c
index 239631e1d95f..422377b5706f 100644
--- a/sys/net/if_lagg.c
+++ b/sys/net/if_lagg.c
@@ -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: