summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2010-02-18 09:26:29 +0000
committerclaudio <claudio@openbsd.org>2010-02-18 09:26:29 +0000
commit355994ce43276dd02d349ebd4001603621477dbe (patch)
tree54f87b6229f5335d79721c71c40edf2e0159613d
parentClose a fd leak when opening the tcp connection to the neighbor. (diff)
downloadwireguard-openbsd-355994ce43276dd02d349ebd4001603621477dbe.tar.xz
wireguard-openbsd-355994ce43276dd02d349ebd4001603621477dbe.zip
Remove some debug messages that are too verbose and no longer needed.
OK michele@
-rw-r--r--usr.sbin/ldpd/keepalive.c6
-rw-r--r--usr.sbin/ldpd/neighbor.c5
2 files changed, 2 insertions, 9 deletions
diff --git a/usr.sbin/ldpd/keepalive.c b/usr.sbin/ldpd/keepalive.c
index 5507c269cc2..c29c45a4bf6 100644
--- a/usr.sbin/ldpd/keepalive.c
+++ b/usr.sbin/ldpd/keepalive.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keepalive.c,v 1.2 2009/06/05 22:34:45 michele Exp $ */
+/* $OpenBSD: keepalive.c,v 1.3 2010/02/18 09:26:29 claudio Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -46,8 +46,6 @@ send_keepalive(struct nbr *nbr)
if (nbr->iface->passive)
return (0);
- log_debug("send_keepalive: neighbor ID %s", inet_ntoa(nbr->id));
-
if ((buf = buf_open(LDP_MAX_LEN)) == NULL)
fatal("send_keepalive");
@@ -70,8 +68,6 @@ recv_keepalive(struct nbr *nbr, char *buf, u_int16_t len)
{
struct ldp_msg *ka;
- log_debug("recv_keepalive: neighbor ID %s", inet_ntoa(nbr->id));
-
ka = (struct ldp_msg *)buf;
if ((len - TLV_HDR_LEN) < ntohs(ka->length)) {
diff --git a/usr.sbin/ldpd/neighbor.c b/usr.sbin/ldpd/neighbor.c
index d53de994921..59c978237d9 100644
--- a/usr.sbin/ldpd/neighbor.c
+++ b/usr.sbin/ldpd/neighbor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: neighbor.c,v 1.5 2010/02/18 09:25:16 claudio Exp $ */
+/* $OpenBSD: neighbor.c,v 1.6 2010/02/18 09:26:29 claudio Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -407,9 +407,6 @@ nbr_ktimer(int fd, short event, void *arg)
struct nbr *nbr = arg;
struct timeval tv;
- log_debug("nbr_ktimer: neighbor ID %s peerid %lu", inet_ntoa(nbr->id),
- nbr->peerid);
-
send_keepalive(nbr);
timerclear(&tv);