From 6742988b8ea12db3b7c0ec9787bed63114e31f32 Mon Sep 17 00:00:00 2001 From: claudio Date: Thu, 8 Jan 2009 19:18:17 +0000 Subject: Include the neighbor ID in a debug output so that it is clear which router is sendingf the duplicate entries. OK norby@ --- usr.sbin/ospfd/database.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ospfd/database.c') diff --git a/usr.sbin/ospfd/database.c b/usr.sbin/ospfd/database.c index 9f6b58befac..3281d7e7cca 100644 --- a/usr.sbin/ospfd/database.c +++ b/usr.sbin/ospfd/database.c @@ -1,4 +1,4 @@ -/* $OpenBSD: database.c,v 1.23 2008/11/24 18:28:02 claudio Exp $ */ +/* $OpenBSD: database.c,v 1.24 2009/01/08 19:18:17 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -187,7 +187,8 @@ recv_db_description(struct nbr *nbr, char *buf, u_int16_t len) nbr->last_rx_bits == dd_hdr.bits && ntohl(dd_hdr.dd_seq_num) == nbr->dd_seq_num - nbr->dd_master ? 1 : 0) { - log_debug("recv_db_description: dupe"); + log_debug("recv_db_description: dupe from ID %s", + inet_ntoa(nbr->id)); dupe = 1; } -- cgit v1.2.3-59-g8ed1b