From 7b6c1e14af1ec2660b1fed041c71242d9149808c Mon Sep 17 00:00:00 2001 From: Alexandre Cassen Date: Mon, 28 Sep 2009 11:45:25 +0200 Subject: vrrp: increase max number of VIPs to 360 per interface --- keepalived/include/vrrp.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keepalived/include/vrrp.h b/keepalived/include/vrrp.h index 22f933f..36ab984 100644 --- a/keepalived/include/vrrp.h +++ b/keepalived/include/vrrp.h @@ -176,9 +176,9 @@ typedef struct _vrrp_rt { #define VRRP_PACKET_NULL 3 #define VRRP_PACKET_OTHER 4 /* Muliple VRRP on LAN, Identify "other" VRRP */ -/* VRRP Packet fixed lenght */ -#define VRRP_MAX_VIP 20 -#define VRRP_PACKET_TEMP_LEN 1024 +/* VRRP Packet fixed length. The size must cover 8+4*MAX_VIP+AUTH_LEN */ +#define VRRP_MAX_VIP 360 +#define VRRP_PACKET_TEMP_LEN 1536 #define VRRP_AUTH_LEN 8 #define VRRP_VIP_TYPE (1 << 0) #define VRRP_EVIP_TYPE (1 << 1) -- 1.6.0.4