anchor.diff:  %% @doc Return values for Session-Id and Auth-Request-Type attributes in
   %% DIAMETER Request.
   %% @hidden
  -get_attibutes(Request) when is_record(Request, diameter_nas_app_AAR) ->
  -	#diameter_nas_app_AAR{'Session-Id' = SessionId,
  -			'Auth-Request-Type' = Type} = Request,
  -	{SessionId, Type};
  -get_attibutes(Request) when is_record(Request, diameter_eap_app_DER) ->
  -	#diameter_eap_app_DER{'Session-Id' = SessionId,
  -		'Auth-Request-Type' = Type} = Request,
  -	{SessionId, Type}.
  +get_attibutes(#diameter_nas_app_AAR{'Session-Id' = SessionId,
  +		'Auth-Request-Type' = AuthRequestType}) -
  +	{SessionId, AuthRequestType};
  +get_attibutes(#diameter_eap_app_DER{'Session-Id' = SessionId,
  +		'Auth-Request-Type' = Type}) ->
  +	{SessionId, AuthRequestType}.
   
   -spec get_alternate(PreferenceOrder, AlternateMethods, State) -> Result
   	when
  
positive.code: 						type = ?Identity, identifier = EapId, data = <<>>},
  				NewEapMessage = ocs_eap_codec:eap_packet(NewEapPacket),
  				NewRequest = Request#diameter_eap_app_DER{'EAP-Payload' = NewEapMessage},
  				start_fsm(Sup, Address, Port, 5, PasswordReq, SessionId, AuthType,
  						OHost, ORealm, DHost, DRealm, [], CbProc, NewRequest, State);
  			{error, none} ->
  				NewEapPacket = #eap_packet{code = failure, identifier = EapId},
  				NewEapMessage = ocs_eap_codec:eap_packet(NewEapPacket),
  				Answer = #diameter_eap_app_DEA{'Session-Id' = SessionId,
  						'Auth-Application-Id' = 5, 'Auth-Request-Type' = AuthType,
  						'Result-Code' = ?'DIAMETER_BASE_RESULT-CODE_UNABLE_TO_COMPLY',
  						'Origin-Host' = OHost, 'Origin-Realm' = ORealm,
  						'EAP-Payload' = [NewEapMessage]},
  
negative.code: 		Result :: {noreply, State} | {reply, Error, State},
  		Error :: #diameter_nas_app_AAA{}.
  start_fsm(AuthSup, ClientAddress, ClientPort, AppId, PasswordReq, SessionId,
  		AuthRequestType, OHost, ORealm, DHost, DRealm, Options, CbProc, Request,
  		#state{address = ServerAddress, port = ServerPort} = State) ->
  	StartArgs = [diameter, ServerAddress, ServerPort, ClientAddress,
  			ClientPort, PasswordReq, SessionId, AppId, AuthRequestType,
  			OHost, ORealm, DHost, DRealm, Request, Options],
  	try
  		start_fsm1(AuthSup, StartArgs, SessionId, CbProc, State)
  	of
  