diff options
author | Christian Franke <nobody@nowhere.ws> | 2016-06-14 20:07:08 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-21 02:28:26 +0200 |
commit | 58093a791767e5c1e412a6d3fcbe6927f4ffda0b (patch) | |
tree | b7875ee3f9177a8f8bca6cc1b46be73119e05bef /ripd | |
parent | pimd: don't leak original_s_route on error (diff) | |
download | frr-58093a791767e5c1e412a6d3fcbe6927f4ffda0b.tar.xz frr-58093a791767e5c1e412a6d3fcbe6927f4ffda0b.zip |
ripd: print md5 auth digest correctly
The dump of the md5 hash was missing one byte of the hash.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripd')
-rw-r--r-- | ripd/ripd.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |