summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-01-01 15:32:36 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-01-01 15:32:36 +0000
commit60c1729798ae275914b6f57ff4648dd80a9e95c0 (patch)
tree34d3d38b6d911ab6a8bed9f18d7fa7c677164bc2 /usr.sbin/bgpd/kroute.c
parent0b4d236b7797ae6f0bdd77674b47e85a6fa7f278 (diff)
Remove unneeded debug messages that made it into the tree.
Diffstat (limited to 'usr.sbin/bgpd/kroute.c')
-rw-r--r--usr.sbin/bgpd/kroute.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c
index 40b5d60ea44..98ac3c76136 100644
--- a/usr.sbin/bgpd/kroute.c
+++ b/usr.sbin/bgpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.162 2008/12/12 23:15:12 claudio Exp $ */
+/* $OpenBSD: kroute.c,v 1.163 2009/01/01 15:32:35 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -916,11 +916,8 @@ kroute_matchgw(struct kroute_node *kr, struct sockaddr_in *sa_in)
return (NULL);
}
nexthop = sa_in->sin_addr.s_addr;
-log_debug("kroute_matchgw: prefix %s/%u", inet_ntoa(kr->r.prefix), kr->r.prefixlen);
-log_debug("kroute_matchgw: nexthop = %s", inet_ntoa(sa_in->sin_addr));
while (kr) {
-log_debug("kroute_matchgw: kr->r.nexthop = %s", inet_ntoa(kr->r.nexthop));
if (kr->r.nexthop.s_addr == nexthop)
return (kr);
kr = kr->next;