diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-01-28 19:37:53 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-01-28 19:37:53 +0100 |
commit | af1cc4c84c19ff14e30cd07a276a6d1e6ee535a3 (patch) | |
tree | fb0be4a0369af35cf778e17ad005c8f6228b1460 /pimd | |
parent | ospf6d: Remove #if 0 code that has not been used in a long time (diff) | |
download | frr-af1cc4c84c19ff14e30cd07a276a6d1e6ee535a3.tar.xz frr-af1cc4c84c19ff14e30cd07a276a6d1e6ee535a3.zip |
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')
-rw-r--r-- | pimd/pim_hello.c | 16 | ||||
-rw-r--r-- | pimd/test_igmpv3_join.c | 5 |
2 files changed, 0 insertions, 21 deletions
diff --git a/pimd/pim_hello.c b/pimd/pim_hello.c index e50504ec1..6f5c4174e 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) diff --git a/pimd/test_igmpv3_join.c b/pimd/test_igmpv3_join.c index bf44f3c94..3c26517e8 100644 --- a/pimd/test_igmpv3_join.c +++ b/pimd/test_igmpv3_join.c @@ -54,11 +54,6 @@ static int iface_solve_index(const char *ifname) } for (i = 0; ini[i].if_index; ++i) { -#if 0 - fprintf(stderr, - "%s: interface=%s matching against local ifname=%s ifindex=%d\n", - prog_name, ifname, ini[i].if_name, ini[i].if_index); -#endif if (!strcmp(ini[i].if_name, ifname)) { ifindex = ini[i].if_index; break; |