X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fchap.c;h=85c860fc6816f1c85fd95cec806fb0bed2cdcc54;hp=a48f69f2158500a8d906d3c79a47e1b39453bde0;hb=f3bf67e02e98ed3e41af70bc6f87e2c757b2c908;hpb=1aa145faffde86065d6ae1af4041d185c7733342 diff --git a/pppd/chap.c b/pppd/chap.c index a48f69f..85c860f 100644 --- a/pppd/chap.c +++ b/pppd/chap.c @@ -33,7 +33,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: chap.c,v 1.33 2002/09/01 12:00:15 dfs Exp $" +#define RCSID "$Id: chap.c,v 1.34 2002/10/11 22:11:13 fcusack Exp $" /* * TODO: @@ -700,7 +700,7 @@ ChapReceiveResponse(cstate, inp, id, len) notice("CHAP peer authentication succeeded for %q", rhostname); } else { - error("CHAP peer authentication failed for remote host %q", rhostname); + error("CHAP peer authentication failed for %q", rhostname); cstate->serverstate = CHAPSS_BADAUTH; auth_peer_fail(cstate->unit, PPP_CHAP); } @@ -768,6 +768,7 @@ ChapReceiveSuccess(cstate, inp, id, len) cstate->clientstate = CHAPCS_OPEN; + notice("CHAP authentication succeeded"); auth_withpeer_success(cstate->unit, PPP_CHAP, cstate->resp_type); }