pimd: Adding pim_addr as common address for IPv4 and IPv6

PIM_ADDR will be controlled at compile time for IPv4 and IPv6.
in_addr and in6_addr will be compiled for the respective daemons.

Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
This commit is contained in:
Mobashshera Rasool 2021-12-13 22:10:29 -08:00
parent 541b51a5a3
commit 3e5b708021

View File

@ -26,6 +26,8 @@
#include <prefix.h> #include <prefix.h>
typedef struct in_addr pim_addr;
/* /*
* Longest possible length of a (S,G) string is 36 bytes * Longest possible length of a (S,G) string is 36 bytes
* 123.123.123.123 = 16 * 2 * 123.123.123.123 = 16 * 2