summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2014-03-22 04:18:19 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2014-03-22 04:18:19 +0000
commit11752f2a8fec74ca37ec0372468a2f1d7ad26e91 (patch)
tree525233c9ccf2068485e2140c634e9d3582013e49 /usr.sbin
parent637efa24a90f99678198d092f81cf5f6ee70e089 (diff)
Stop output "Stopped" log message of the tunnel protocols.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/npppd/pppoe/pppoed.c6
-rw-r--r--usr.sbin/npppd/pptp/pptpd.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/npppd/pppoe/pppoed.c b/usr.sbin/npppd/pppoe/pppoed.c
index d06b6947051..d20e99bdbe1 100644
--- a/usr.sbin/npppd/pppoe/pppoed.c
+++ b/usr.sbin/npppd/pppoe/pppoed.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pppoed.c,v 1.13 2013/04/20 23:32:32 yasuoka Exp $ */
+/* $OpenBSD: pppoed.c,v 1.14 2014/03/22 04:18:18 yasuoka Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -28,7 +28,7 @@
/**@file
* This file provides the PPPoE(RFC2516) server(access concentrator)
* implementaion.
- * $Id: pppoed.c,v 1.13 2013/04/20 23:32:32 yasuoka Exp $
+ * $Id: pppoed.c,v 1.14 2014/03/22 04:18:18 yasuoka Exp $
*/
#include <sys/types.h>
#include <sys/param.h>
@@ -420,7 +420,7 @@ pppoed_stop(pppoed *_this)
free(plistener);
slist_itr_remove(&_this->listener);
}
- pppoed_log(_this, LOG_NOTICE, "Stopped");
+ PPPOED_DBG((_this, LOG_DEBUG, "Stopped"));
}
/* uninitialize (free) PPPoE daemon */
diff --git a/usr.sbin/npppd/pptp/pptpd.c b/usr.sbin/npppd/pptp/pptpd.c
index 37969802d97..a2905149750 100644
--- a/usr.sbin/npppd/pptp/pptpd.c
+++ b/usr.sbin/npppd/pptp/pptpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pptpd.c,v 1.18 2013/04/20 23:32:32 yasuoka Exp $ */
+/* $OpenBSD: pptpd.c,v 1.19 2014/03/22 04:18:18 yasuoka Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -25,12 +25,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-/* $Id: pptpd.c,v 1.18 2013/04/20 23:32:32 yasuoka Exp $ */
+/* $Id: pptpd.c,v 1.19 2014/03/22 04:18:18 yasuoka Exp $ */
/**@file
* This file provides a implementation of PPTP daemon. Currently it
* provides functions for PAC (PPTP Access Concentrator) only.
- * $Id: pptpd.c,v 1.18 2013/04/20 23:32:32 yasuoka Exp $
+ * $Id: pptpd.c,v 1.19 2014/03/22 04:18:18 yasuoka Exp $
*/
#include <sys/types.h>
#include <sys/param.h>
@@ -507,7 +507,7 @@ pptpd_stop_immediatly(pptpd *_this)
pptpd_close_gre(_this);
slist_fini(&_this->ctrl_list);
slist_fini(&_this->call_free_list);
- pptpd_log(_this, LOG_NOTICE, "Stopped");
+ PPTPD_DBG((_this, LOG_DEBUG, "Stopped"));
} else {
PPTPD_DBG((_this, LOG_DEBUG, "(Already) Stopped"));
}