VRRP: Fix incorrect computation for packet size
authorVincent Bernat <bernat@luffy.cx>
Sat, 17 Jul 2010 17:56:55 +0000 (17:56 +0000)
committerAlexandre Cassen <acassen@lnxos-dev.(none)>
Wed, 8 Dec 2010 10:40:30 +0000 (11:40 +0100)
commit4201ff6af733323797a2fc9523b259738f55748f
treed1e865d423ed99d1a6d4d19088ccd15726ffaacd
parent46c54ec47398e9831dbffa11ec380296c8c18cf9
VRRP: Fix incorrect computation for packet size

Ternary conditional operator has lower precedence than addition. The
size of the VRRP packet was incorrectly computed and there was not
enough room for plain authentication string.
keepalived/vrrp/vrrp.c