diff options
Diffstat (limited to 'pimd/pim_msdp_packet.h')
-rw-r--r-- | pimd/pim_msdp_packet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_msdp_packet.h b/pimd/pim_msdp_packet.h index aa42bbfe4..986fa3b32 100644 --- a/pimd/pim_msdp_packet.h +++ b/pimd/pim_msdp_packet.h @@ -50,8 +50,8 @@ #define PIM_MSDP_SA_X_SIZE 8 #define PIM_MSDP_SA_ONE_ENTRY_SIZE 12 #define PIM_MSDP_SA_Y_SIZE(entry_cnt) (PIM_MSDP_SA_ONE_ENTRY_SIZE * entry_cnt) -#define PIM_MSDP_SA_ENTRY_CNT2SIZE(entry_cnt) (PIM_MSDP_SA_X_SIZE +\ - PIM_MSDP_SA_Y_SIZE(entry_cnt)) +#define PIM_MSDP_SA_ENTRY_CNT2SIZE(entry_cnt) \ + (PIM_MSDP_SA_X_SIZE + PIM_MSDP_SA_Y_SIZE(entry_cnt)) /* SA TLV has to have atleast only one entry in it so x=8 + y=12 */ #define PIM_MSDP_SA_TLV_MIN_SIZE PIM_MSDP_SA_ENTRY_CNT2SIZE(1) /* XXX: theoretically we can fix a max of 255 but that may result in packet |