summaryrefslogtreecommitdiffstats
path: root/pimd/pim_str.h
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2021-12-14 07:10:29 +0100
committerMobashshera Rasool <mrasool@vmware.com>2022-01-10 08:51:10 +0100
commit3e5b7080218970011c9d0c717ed8e9adf4dc6e60 (patch)
treed6bacde54cf12d0e632ecf87702e85012f77709b /pimd/pim_str.h
parentMerge pull request #10301 from donaldsharp/pim_multicast_fix (diff)
downloadfrr-3e5b7080218970011c9d0c717ed8e9adf4dc6e60.tar.xz
frr-3e5b7080218970011c9d0c717ed8e9adf4dc6e60.zip
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>
Diffstat (limited to 'pimd/pim_str.h')
-rw-r--r--pimd/pim_str.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_str.h b/pimd/pim_str.h
index 94ba32415..40d26d6f5 100644
--- a/pimd/pim_str.h
+++ b/pimd/pim_str.h
@@ -26,6 +26,8 @@
#include <prefix.h>
+typedef struct in_addr pim_addr;
+
/*
* Longest possible length of a (S,G) string is 36 bytes
* 123.123.123.123 = 16 * 2