diff options
author | Ethan Jackson <ethan@nicira.com> | 2011-02-04 18:16:39 -0800 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2011-02-07 11:27:51 -0800 |
commit | 8834f25e9983910258cd0cd1e400a14d9a664479 (patch) | |
tree | f7c29163932462cc9f085d1f2a900b7f8b2b7b74 /lib/packets.c | |
parent | edbad245caa782220c6c3d97df39701065e3499b (diff) |
vswitchd: Tweak LACP values.
Hardware sets the default LACP partner information to 0 so this
commit follows. The collector delay is a more interesting
case. Hardware sets it to 32768 and Linux sets it to 0. The
collector delay relates to a part of the LACP protocol which we
don't implement so we follow Linux in this case.
Diffstat (limited to 'lib/packets.c')
-rw-r--r-- | lib/packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/packets.c b/lib/packets.c index c1e1cdbb..8791a3ce 100644 --- a/lib/packets.c +++ b/lib/packets.c @@ -237,7 +237,7 @@ compose_lacp_packet(struct ofpbuf *b, struct lacp_info *actor, pdu->collector_type = 3; pdu->collector_len = 16; - pdu->collector_delay = htons(UINT16_MAX); + pdu->collector_delay = htons(0); } /* Parses 'b' which represents a packet containing a LACP PDU. This function |