summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-01-01 22:50:14 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-01-01 22:50:14 +0000
commit8526c66d3ae45f90a793c581c7f456afee023e35 (patch)
tree84fe8b856c96f3a96101ba401cd51f4f90e43d44 /usr.sbin
parentfcf2e1c6b894f59d64e4ef11f5c5d4ab2b694ccd (diff)
Remove some other useless debug messages that just add unneeded noise.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ospfd/interface.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.sbin/ospfd/interface.c b/usr.sbin/ospfd/interface.c
index 13b2e7c9503..5bc357b448c 100644
--- a/usr.sbin/ospfd/interface.c
+++ b/usr.sbin/ospfd/interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interface.c,v 1.60 2007/09/11 16:02:55 claudio Exp $ */
+/* $OpenBSD: interface.c,v 1.61 2009/01/01 22:50:13 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -215,8 +215,6 @@ if_del(struct iface *iface)
{
struct nbr *nbr = NULL;
- log_debug("if_del: interface %s", iface->name);
-
/* revert the demotion when the interface is deleted */
if ((iface->state & (IF_STA_MULTI | IF_STA_POINTTOPOINT)) == 0)
ospfe_demote_iface(iface, 1);
@@ -324,11 +322,8 @@ if_act_start(struct iface *iface)
if (!((iface->flags & IFF_UP) &&
(LINK_STATE_IS_UP(iface->linkstate) ||
(iface->linkstate == LINK_STATE_UNKNOWN &&
- iface->media_type != IFT_CARP)))) {
- log_debug("if_act_start: interface %s link down",
- iface->name);
+ iface->media_type != IFT_CARP))))
return (0);
- }
if (iface->media_type == IFT_CARP && iface->passive == 0) {
/* force passive mode on carp interfaces */