summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d/database.c
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2008-02-11 13:48:40 +0000
committerEsben Norby <norby@cvs.openbsd.org>2008-02-11 13:48:40 +0000
commit92701fa831559fcfac82dabd60fa4a47183593df (patch)
treebea7d05126e50196b09a58ca29a9e2b656c71ccf /usr.sbin/ospf6d/database.c
parent96ab3bcb1b7dd892b4f373bef0b2aae0300d1572 (diff)
Correct the output of several error and debug messages.
Diffstat (limited to 'usr.sbin/ospf6d/database.c')
-rw-r--r--usr.sbin/ospf6d/database.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospf6d/database.c b/usr.sbin/ospf6d/database.c
index 8c494f8519d..e5be1475a8b 100644
--- a/usr.sbin/ospf6d/database.c
+++ b/usr.sbin/ospf6d/database.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: database.c,v 1.6 2007/12/13 08:54:05 claudio Exp $ */
+/* $OpenBSD: database.c,v 1.7 2008/02/11 13:48:39 norby Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -165,7 +165,7 @@ recv_db_description(struct nbr *nbr, char *buf, u_int16_t len)
int dupe = 0;
if (len < sizeof(dd_hdr)) {
- log_warnx("recv_dd_description: "
+ log_warnx("recv_db_description: "
"bad packet size, neighbor ID %s", inet_ntoa(nbr->id));
return;
}
@@ -175,7 +175,7 @@ recv_db_description(struct nbr *nbr, char *buf, u_int16_t len)
/* db description packet sanity checks */
if (ntohs(dd_hdr.iface_mtu) > nbr->iface->mtu) {
- log_warnx("recv_dd_description: invalid MTU %d sent by "
+ log_warnx("recv_db_description: invalid MTU %d sent by "
"neighbor ID %s, expected %d", ntohs(dd_hdr.iface_mtu),
inet_ntoa(nbr->id), nbr->iface->mtu);
return;