summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/database.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-01-08 19:18:18 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-01-08 19:18:18 +0000
commit47cd8bf5f3fb0eb43fc0d092023c04c6be8f75e3 (patch)
tree617843933a0fa8383a6d6efb2c67f27584471e53 /usr.sbin/ospfd/database.c
parente012bd8eccadf124a79cb082210e81fd67bfb318 (diff)
Include the neighbor ID in a debug output so that it is clear which router
is sendingf the duplicate entries. OK norby@
Diffstat (limited to 'usr.sbin/ospfd/database.c')
-rw-r--r--usr.sbin/ospfd/database.c5
1 files changed, 3 insertions, 2 deletions
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 <claudio@openbsd.org>
@@ -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;
}