pimd: fix wtf code
* pim_hello.c,
* pim_neighbor.c: print pointers as %p
* pim_time.c: comment out unused function
* pim_zebra.c: wtf
diff --git a/pimd/pim_hello.c b/pimd/pim_hello.c
index 73c50d4..94e7c94 100644
--- a/pimd/pim_hello.c
+++ b/pimd/pim_hello.c
@@ -124,12 +124,12 @@
if (isset) {
char src_str[100];
pim_inet4_dump("<src?>", src_addr, src_str, sizeof(src_str));
- zlog_debug("%s: PIM hello option from %s on interface %s: %s size=%d list=%x",
+ zlog_debug("%s: PIM hello option from %s on interface %s: %s size=%d list=%p",
label,
src_str, ifname,
tlv_name,
addr_list ? ((int) listcount(addr_list)) : -1,
- (unsigned) addr_list);
+ (void *) addr_list);
}
}