From 58093a791767e5c1e412a6d3fcbe6927f4ffda0b Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 14 Jun 2016 20:07:08 +0200 Subject: ripd: print md5 auth digest correctly The dump of the md5 hash was missing one byte of the hash. Signed-off-by: Christian Franke Signed-off-by: Christian Franke Acked-by: Donald Sharp --- ripd/ripd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ripd') diff --git a/ripd/ripd.c b/ripd/ripd.c index ab8199664..612447116 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -748,9 +748,9 @@ rip_packet_dump (struct rip_packet *packet, int size, const char *sndrcv) zlog_debug (" family 0x%X type %d (MD5 data)", ntohs (rte->family), ntohs (rte->tag)); zlog_debug (" MD5: %02X%02X%02X%02X%02X%02X%02X%02X" - "%02X%02X%02X%02X%02X%02X%02X", + "%02X%02X%02X%02X%02X%02X%02X%02X", p[0], p[1], p[2], p[3], p[4], p[5], p[6], - p[7], p[9], p[10], p[11], p[12], p[13], + p[7], p[8], p[9], p[10], p[11], p[12], p[13], p[14], p[15]); } else -- cgit v1.2.3