summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-05-12 13:31:36 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-05-12 13:31:36 +0000
commit95d71cb5f784d82fc7b39229c3b5b9cd1511552d (patch)
tree3dfc7f0f16757711e46d64bc92d355b69c9358ee
parentc213a1d1ff526bdffb4135c946c27298ccf3439c (diff)
Make sure there is a difference in the log of non-fatal and fatal
notifications.
-rw-r--r--usr.sbin/ldpd/notification.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ldpd/notification.c b/usr.sbin/ldpd/notification.c
index 8b1c1edba94..286acd1df17 100644
--- a/usr.sbin/ldpd/notification.c
+++ b/usr.sbin/ldpd/notification.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: notification.c,v 1.4 2010/04/15 15:44:37 claudio Exp $ */
+/* $OpenBSD: notification.c,v 1.5 2010/05/12 13:31:35 claudio Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -108,8 +108,8 @@ recv_notification(struct nbr *nbr, char *buf, u_int16_t len)
inet_ntoa(nbr->id),
notification_name(ntohl(st->status_code)));
else
- log_debug("recieved notification from neighbor %s: %s",
- inet_ntoa(nbr->id),
+ log_debug("recieved non-fatal notification from neighbor "
+ "%s: %s", inet_ntoa(nbr->id),
notification_name(ntohl(st->status_code)));
if (st->status_code & htonl(STATUS_FATAL)) {