summaryrefslogtreecommitdiff
path: root/pimd/pim_hello.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-01-28 13:37:53 -0500
committerDonald Sharp <sharpd@nvidia.com>2021-01-28 13:37:53 -0500
commitaf1cc4c84c19ff14e30cd07a276a6d1e6ee535a3 (patch)
treefb0be4a0369af35cf778e17ad005c8f6228b1460 /pimd/pim_hello.c
parent8b365264759bf59b09653eaf89c5dd154c7c41e3 (diff)
pimd: Remove #if 0 code from system
Old dead code. Like a log jamming your build system Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim_hello.c')
-rw-r--r--pimd/pim_hello.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/pimd/pim_hello.c b/pimd/pim_hello.c
index e50504ec10..6f5c4174e2 100644
--- a/pimd/pim_hello.c
+++ b/pimd/pim_hello.c
@@ -95,22 +95,6 @@ static void tlv_trace_uint32_hex(const char *label, const char *tlv_name,
}
}
-#if 0
-static void tlv_trace(const char *label, const char *tlv_name,
- const char *ifname, struct in_addr src_addr,
- int isset)
-{
- if (isset) {
- char src_str[INET_ADDRSTRLEN];
- pim_inet4_dump("<src?>", src_addr, src_str, sizeof(src_str));
- zlog_debug("%s: PIM hello option from %s on interface %s: %s",
- label,
- src_str, ifname,
- tlv_name);
- }
-}
-#endif
-
static void tlv_trace_list(const char *label, const char *tlv_name,
const char *ifname, struct in_addr src_addr,
int isset, struct list *addr_list)