diff options
author | Everton Marques <everton.marques@gmail.com> | 2009-11-18 11:55:13 -0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2015-02-04 06:07:52 +0100 |
commit | 929bb95587fe43db9a904464d973c0605d160644 (patch) | |
tree | 4dcecc32ea7173917c5c7f4cac2e93468243720f /pimd | |
parent | 627380420e60a4b944646eb1ce2b1552e6e03565 (diff) | |
download | quagga-929bb95587fe43db9a904464d973c0605d160644.tar.bz2 quagga-929bb95587fe43db9a904464d973c0605d160644.tar.xz |
[pim] Fix dump byte type
Diffstat (limited to 'pimd')
-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 */ |