summaryrefslogtreecommitdiffstats
path: root/pimd/pim_addr.h
diff options
context:
space:
mode:
authorSai Gomathi N <nsaigomathi@vmware.com>2022-06-17 13:39:59 +0200
committerSai Gomathi N <nsaigomathi@vmware.com>2022-06-27 08:42:47 +0200
commit68a7caf4bfdbbb0fc4605ff3eaa19cd40c5d8cac (patch)
tree4a3090f2e855efc45729a8da13fdbc07fd0b9ae0 /pimd/pim_addr.h
parentMerge pull request #11477 from LabNConsulting/chopps/fix-config-load (diff)
downloadfrr-68a7caf4bfdbbb0fc4605ff3eaa19cd40c5d8cac.tar.xz
frr-68a7caf4bfdbbb0fc4605ff3eaa19cd40c5d8cac.zip
pimd,pim6d: Change the show running commands based on address family
Change the show running commands for pimv4 and pimv6 debug commands based on the address family. Signed-off-by: Sai Gomathi N <nsaigomathi@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 cb868bc7e..2f0743b57 100644
--- a/pimd/pim_addr.h
+++ b/pimd/pim_addr.h
@@ -35,6 +35,7 @@ typedef struct in_addr pim_addr;
#define ipaddr_pim ipaddr_v4
#define PIM_MAX_BITLEN IPV4_MAX_BITLEN
#define PIM_AF_NAME "ip"
+#define PIM_AF_DBG "pim"
#define PIMREG "pimreg"
#define PIM_ADDR_FUNCNAME(name) ipv4_##name
@@ -59,6 +60,7 @@ typedef struct in6_addr pim_addr;
#define ipaddr_pim ipaddr_v6
#define PIM_MAX_BITLEN IPV6_MAX_BITLEN
#define PIM_AF_NAME "ipv6"
+#define PIM_AF_DBG "pimv6"
#define PIMREG "pim6reg"
#define PIM_ADDR_FUNCNAME(name) ipv6_##name