summaryrefslogtreecommitdiffstats
path: root/proto/rip
diff options
context:
space:
mode:
Diffstat (limited to 'proto/rip')
-rw-r--r--proto/rip/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/auth.c b/proto/rip/auth.c
index c23872b..8aafe2e 100644
--- a/proto/rip/auth.c
+++ b/proto/rip/auth.c
@@ -44,7 +44,7 @@ rip_incoming_authentication( struct proto *p, struct rip_block_auth *block, stru
}
if (strncmp( (char *) (&block->packetlen), passwd->password, 16)) {
log( L_AUTH "Passwd authentication failed!" );
- DBG( "Expected %s, got %s\n", passwd->password, &block->packetlen );
+ DBG( "Expected %s, got %.16s\n", passwd->password, &block->packetlen );
return 1;
}
}