summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-06-09 13:32:16 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-06-09 13:32:16 +0000
commit3c00b7616a1dbb56c84ff329771b1d99d92d34a4 (patch)
tree837623ce487ca166c2f6b640b7967583c0df0cde
parentc5fdd2a6f7dd2911343fdf6fcc81d6a0cddb3d75 (diff)
More useful warning message.
-rw-r--r--usr.sbin/ldpd/lde.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ldpd/lde.c b/usr.sbin/ldpd/lde.c
index cfcaa376254..e1fc76a4609 100644
--- a/usr.sbin/ldpd/lde.c
+++ b/usr.sbin/ldpd/lde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lde.c,v 1.16 2010/06/07 13:24:23 claudio Exp $ */
+/* $OpenBSD: lde.c,v 1.17 2010/06/09 13:32:15 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -251,7 +251,8 @@ lde_dispatch_imsg(int fd, short event, void *bula)
lde_check_release(&map, nbr);
break;
default:
- log_warnx("not yet");
+ log_warnx("type %d not yet handled. nbr %s",
+ imsg.hdr.type, inet_ntoa(nbr->id));
}
break;
case IMSG_ADDRESS_ADD: