summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2009-01-29 11:57:43 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2009-01-29 11:57:43 +0000
commitfdbf4ed750ef77d43af4809793472e5a529be6fc (patch)
treeddee7ac31b62390029f29548e2cb30ca8dede20f
parentf31719fb7cd024889e1f7ce7ece4f576d18cd704 (diff)
Improve debugging message in orig_intra_lsa_net().
Print not just the area, but also the interface to the link the LSA is generated for. ok claudio@
-rw-r--r--usr.sbin/ospf6d/rde.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/rde.c b/usr.sbin/ospf6d/rde.c
index cdd52553aec..aaa937625c0 100644
--- a/usr.sbin/ospf6d/rde.c
+++ b/usr.sbin/ospf6d/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.16 2009/01/28 22:47:36 stsp Exp $ */
+/* $OpenBSD: rde.c,v 1.17 2009/01/29 11:57:42 stsp Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -1167,7 +1167,8 @@ orig_intra_lsa_net(struct area *area, struct iface *iface)
u_int16_t len;
u_int16_t numprefix;
- log_debug("orig_intra_lsa_net: area %s", inet_ntoa(area->id));
+ log_debug("orig_intra_lsa_net: area %s, interface %s",
+ inet_ntoa(area->id), iface->name);
len = sizeof(struct lsa_hdr) + sizeof(struct lsa_intra_prefix);
if ((lsa = calloc(1, len)) == NULL)