From: yasuoka
Date: Wed, 24 Jun 2015 04:45:20 +0000 (+0000)
Subject: Improve and fix typo in the comment.
X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0607d03f79a87f6ffac38071c929c9e2dcaa8710;p=openbsd
Improve and fix typo in the comment.
---
diff --git a/usr.sbin/npppd/npppd/chap.c b/usr.sbin/npppd/npppd/chap.c
index 656d2f79f79..5aa8890e7d5 100644
--- a/usr.sbin/npppd/npppd/chap.c
+++ b/usr.sbin/npppd/npppd/chap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chap.c,v 1.12 2015/01/19 01:48:59 deraadt Exp $ */
+/* $OpenBSD: chap.c,v 1.13 2015/06/24 04:45:20 yasuoka Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -36,7 +36,7 @@
*
*/
/* RFC 1994, 2433 */
-/* $Id: chap.c,v 1.12 2015/01/19 01:48:59 deraadt Exp $ */
+/* $Id: chap.c,v 1.13 2015/06/24 04:45:20 yasuoka Exp $ */
#include
#include
#include
@@ -851,7 +851,7 @@ chap_radius_response(void *context, RADIUS_PACKET *pkt, int flags,
if (code == RADIUS_CODE_ACCESS_REJECT) {
reason="reject";
errorCode = ERROR_AUTHENTICATION_FAILURE;
- /* Windows peer will reset the passowrd by this error code */
+ /* Windows peer will reset the password by this error code */
goto auth_failed;
} else if (code != RADIUS_CODE_ACCESS_ACCEPT) {
reason="error";
diff --git a/usr.sbin/npppd/npppd/lcp.c b/usr.sbin/npppd/npppd/lcp.c
index 8bc298acd79..d5a44d5040f 100644
--- a/usr.sbin/npppd/npppd/lcp.c
+++ b/usr.sbin/npppd/npppd/lcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lcp.c,v 1.10 2015/01/19 01:48:59 deraadt Exp $ */
+/* $OpenBSD: lcp.c,v 1.11 2015/06/24 04:45:20 yasuoka Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-/* $Id: lcp.c,v 1.10 2015/01/19 01:48:59 deraadt Exp $ */
+/* $Id: lcp.c,v 1.11 2015/06/24 04:45:20 yasuoka Exp $ */
/**@file
* This file provides LCP related functions.
*
@@ -1111,8 +1111,8 @@ lcp_dialin_proxy(lcp *_this, dialin_proxy_info *dpi, int renegotiation,
if (_this->dialin_proxy_lcp_renegotiation == 0) {
_this->fsm.ppp->peer_auth = dpi->auth_type;
/*
- * It changes status which all options are rejected, and
- * accepts agreed options in lcp_proxy_send_ci.
+ * Set the rejected flag to all options here for the moment,
+ * the agreeed options will be handled in lcp_proxy_sent_ci().
*/
psm_opt_set_rejected(_this, mru, 1);
psm_opt_set_rejected(_this, pfc, 1);