diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-08-27 12:22:43 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-08-29 12:11:40 +0400 |
commit | ebbd6f580322767983ebf6b4049924d7e2de642f (patch) | |
tree | 6c10d3dda8d1e97437bceb88cc430addda56a011 /accel-pppd/auth | |
parent | fd379e46a8e41a1a41836922a376e462bb676b0f (diff) | |
download | accel-ppp-ebbd6f580322767983ebf6b4049924d7e2de642f.tar.gz accel-ppp-ebbd6f580322767983ebf6b4049924d7e2de642f.zip |
fix typo (successed -> succeeded)
Conflicts:
accel-pppd/ppp/ppp_auth.c
Diffstat (limited to 'accel-pppd/auth')
-rw-r--r-- | accel-pppd/auth/auth_chap_md5.c | 8 | ||||
-rw-r--r-- | accel-pppd/auth/auth_mschap_v1.c | 6 | ||||
-rw-r--r-- | accel-pppd/auth/auth_mschap_v2.c | 4 | ||||
-rw-r--r-- | accel-pppd/auth/auth_pap.c | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/accel-pppd/auth/auth_chap_md5.c b/accel-pppd/auth/auth_chap_md5.c index a43081d8..7e14b8d5 100644 --- a/accel-pppd/auth/auth_chap_md5.c +++ b/accel-pppd/auth/auth_chap_md5.c @@ -28,7 +28,7 @@ #define VALUE_SIZE 16 #define MSG_FAILURE "Authentication failed" -#define MSG_SUCCESS "Authentication successed" +#define MSG_SUCCESS "Authentication succeeded" #define HDR_LEN (sizeof(struct chap_hdr_t)-2) @@ -290,7 +290,7 @@ static void chap_recv_response(struct chap_auth_data_t *ad, struct chap_hdr_t *h name = _strndup(msg->name,ntohs(msg->hdr.len) - sizeof(*msg) + 2); if (conf_any_login) { - if (ppp_auth_successed(ad->ppp, name)) { + if (ppp_auth_succeeded(ad->ppp, name)) { chap_send_failure(ad); ap_session_terminate(&ad->ppp->ses, TERM_AUTH_ERROR, 0); _free(name); @@ -332,7 +332,7 @@ static void chap_recv_response(struct chap_auth_data_t *ad, struct chap_hdr_t *h _free(name); } else { if (!ad->started) { - if (ppp_auth_successed(ad->ppp, name)) { + if (ppp_auth_succeeded(ad->ppp, name)) { chap_send_failure(ad); ap_session_terminate(&ad->ppp->ses, TERM_AUTH_ERROR, 0); _free(name); @@ -355,7 +355,7 @@ static void chap_recv_response(struct chap_auth_data_t *ad, struct chap_hdr_t *h _free(name); } else { if (!ad->started) { - if (ppp_auth_successed(ad->ppp, name)) { + if (ppp_auth_succeeded(ad->ppp, name)) { chap_send_failure(ad); ap_session_terminate(&ad->ppp->ses, TERM_AUTH_ERROR, 0); _free(name); diff --git a/accel-pppd/auth/auth_mschap_v1.c b/accel-pppd/auth/auth_mschap_v1.c index fd1a60a8..adfbc604 100644 --- a/accel-pppd/auth/auth_mschap_v1.c +++ b/accel-pppd/auth/auth_mschap_v1.c @@ -36,7 +36,7 @@ static int conf_interval = 0; static int conf_max_failure = 3; static int conf_any_login = 0; static char *conf_msg_failure = "E=691 R=0"; -static char *conf_msg_success = "Authentication successed"; +static char *conf_msg_success = "Authentication succeeded"; ; struct chap_hdr_t @@ -300,7 +300,7 @@ static void chap_recv_response(struct chap_auth_data_t *ad, struct chap_hdr_t *h } if (conf_any_login) { - if (ppp_auth_successed(ad->ppp, name)) { + if (ppp_auth_succeeded(ad->ppp, name)) { chap_send_failure(ad, mschap_error); ap_session_terminate(&ad->ppp->ses, TERM_AUTH_ERROR, 0); _free(name); @@ -325,7 +325,7 @@ static void chap_recv_response(struct chap_auth_data_t *ad, struct chap_hdr_t *h _free(name); } else { if (!ad->started) { - if (ppp_auth_successed(ad->ppp, name)) { + if (ppp_auth_succeeded(ad->ppp, name)) { chap_send_failure(ad, mschap_error); ap_session_terminate(&ad->ppp->ses, TERM_AUTH_ERROR, 0); _free(name); diff --git a/accel-pppd/auth/auth_mschap_v2.c b/accel-pppd/auth/auth_mschap_v2.c index ffb6fbf4..b8f346aa 100644 --- a/accel-pppd/auth/auth_mschap_v2.c +++ b/accel-pppd/auth/auth_mschap_v2.c @@ -36,7 +36,7 @@ static int conf_interval = 0; static int conf_max_failure = 3; static char *conf_msg_failure = "E=691 R=0 V=3"; static char *conf_msg_failure2 = "Authentication failure"; -static char *conf_msg_success = "Authentication successed"; +static char *conf_msg_success = "Authentication succeeded"; struct chap_hdr_t { @@ -396,7 +396,7 @@ static void chap_recv_response(struct chap_auth_data_t *ad, struct chap_hdr_t *h _free(name); } else { if (!ad->started) { - if (ppp_auth_successed(ad->ppp, name)) { + if (ppp_auth_succeeded(ad->ppp, name)) { chap_send_failure(ad, mschap_error, reply_msg); ap_session_terminate(&ad->ppp->ses, TERM_AUTH_ERROR, 0); _free(name); diff --git a/accel-pppd/auth/auth_pap.c b/accel-pppd/auth/auth_pap.c index 206ecde6..08edbcb7 100644 --- a/accel-pppd/auth/auth_pap.c +++ b/accel-pppd/auth/auth_pap.c @@ -13,7 +13,7 @@ #include "memdebug.h" #define MSG_FAILED "Authentication failed" -#define MSG_SUCCESSED "Authentication successed" +#define MSG_SUCCESSED "Authentication succeeded" #define HDR_LEN (sizeof(struct pap_hdr_t)-2) @@ -199,7 +199,7 @@ static int pap_recv_req(struct pap_auth_data_t *p, struct pap_hdr_t *hdr) peer_id = _strndup((const char*)peer_id, peer_id_len); if (conf_any_login) { - if (ppp_auth_successed(p->ppp, peer_id)) { + if (ppp_auth_succeeded(p->ppp, peer_id)) { pap_send_nak(p, hdr->id); ap_session_terminate(&p->ppp->ses, TERM_AUTH_ERROR, 0); _free(peer_id); @@ -232,7 +232,7 @@ static int pap_recv_req(struct pap_auth_data_t *p, struct pap_hdr_t *hdr) ret = -1; _free(peer_id); } else { - if (ppp_auth_successed(p->ppp, peer_id)) { + if (ppp_auth_succeeded(p->ppp, peer_id)) { pap_send_nak(p, hdr->id); ap_session_terminate(&p->ppp->ses, TERM_AUTH_ERROR, 0); _free(peer_id); |