diff options
-rw-r--r-- | pimd/pim_util.c | 2 | ||||
-rw-r--r-- | pimd/pim_util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_util.c b/pimd/pim_util.c index 13230c0c..d97b599c 100644 --- a/pimd/pim_util.c +++ b/pimd/pim_util.c @@ -135,7 +135,7 @@ uint16_t pim_inet_checksum(const char *buf, int size) } #endif /* PIM_USE_QUAGGA_INET_CHECKSUM */ -void pim_pkt_dump(const char *label, const char *buf, int size) +void pim_pkt_dump(const char *label, const uint8_t *buf, int size) { char dump_buf[1000]; int i = 0; diff --git a/pimd/pim_util.h b/pimd/pim_util.h index 5863d5f2..6f5bf223 100644 --- a/pimd/pim_util.h +++ b/pimd/pim_util.h @@ -38,6 +38,6 @@ uint16_t igmp_msg_decode8to16(uint8_t code); uint16_t pim_inet_checksum(const char *buf, int size); #endif /* PIM_USE_QUAGGA_INET_CHECKSUM */ -void pim_pkt_dump(const char *label, const char *buf, int size); +void pim_pkt_dump(const char *label, const uint8_t *buf, int size); #endif /* PIM_UTIL_H */ |