bit = UPAP_WITHPEER;
bit = PAP_WITHPEER;
auth_withpeer_success(unit, protocol)    int unit, protocol;{    int bit;    switch (protocol) {    case PPP_CHAP:	bit = CHAP_WITHPEER;	break;    case PPP_PAP:        if (passwd_from_file)            BZERO(passwd, MAXSECRETLEN);	bit = UPAP_WITHPEER;	break;    default:	syslog(LOG_WARNING, "auth_peer_success: unknown protocol %x",	       protocol);	bit = 0;    }    /*     * If there is no more authentication still being done,     * proceed to the network phase.     */    if ((auth_pending[unit] &= ~bit) == 0)	network_phase(unit);}