summaryrefslogtreecommitdiffstats
path: root/pimd/pim_addr.h
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2022-02-25 10:29:29 +0100
committerMobashshera Rasool <mrasool@vmware.com>2022-02-28 10:38:41 +0100
commitebde3825c4bfebd7756a8b8e7dc528c34fc57bae (patch)
treef2a5b4fa7f97cff1b85e5c90e01c4205b16c1930 /pimd/pim_addr.h
parentpimd: Moving ipv4 running-configs to a separate function (diff)
downloadfrr-ebde3825c4bfebd7756a8b8e7dc528c34fc57bae.tar.xz
frr-ebde3825c4bfebd7756a8b8e7dc528c34fc57bae.zip
pim6d: Adding PIM_AF_NAME "ip" / "ipv6" for "show running-config"
Adding PIM_AF_NAME to use in the show running config for both pimv4 and pimv6 commands. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'pimd/pim_addr.h')
-rw-r--r--pimd/pim_addr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_addr.h b/pimd/pim_addr.h
index 1351fca22..e422a2e2d 100644
--- a/pimd/pim_addr.h
+++ b/pimd/pim_addr.h
@@ -32,6 +32,7 @@ typedef struct in_addr pim_addr;
#define PIM_AF AF_INET
#define PIM_AFI AFI_IP
#define PIM_MAX_BITLEN IPV4_MAX_BITLEN
+#define PIM_AF_NAME "ip"
union pimprefixptr {
prefixtype(pimprefixptr, struct prefix, p)
@@ -50,6 +51,7 @@ typedef struct in6_addr pim_addr;
#define PIM_AF AF_INET6
#define PIM_AFI AFI_IP6
#define PIM_MAX_BITLEN IPV6_MAX_BITLEN
+#define PIM_AF_NAME "ipv6"
union pimprefixptr {
prefixtype(pimprefixptr, struct prefix, p)