From fdbf4ed750ef77d43af4809793472e5a529be6fc Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Thu, 29 Jan 2009 11:57:43 +0000 Subject: 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@ --- usr.sbin/ospf6d/rde.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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 @@ -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) -- cgit v1.2.3