anchor.diff:  	catch
   		_:_ ->
   			EapPacket2 = #eap_packet{code = failure, identifier = EapID},
  -			send_response(EapPacket2, ?AccessReject, [], RadiusID,
  +			send_radius_response(EapPacket2, ?AccessReject, [], RadiusID,
   					RequestAuthenticator, RequestAttributes, NewStateData),
   			{stop, {shutdown, SessionID}, NewStateData}
   	end;
  
positive.code: 	try
  		EapData = ocs_eap_codec:eap_packet(EapPacket),
  		Answer = #diameter_eap_app_DEA{'Session-Id' = SId,
  				'Auth-Application-Id' = 5, 'Auth-Request-Type' = AuthType,
  				'Result-Code' = ResultCode, 'Origin-Host' = OH, 'Origin-Realm' = OR,
  				'EAP-Payload' = [EapData]},
  		ok = ocs_log:auth_log(diameter, Server, Client, Request, Answer),
  
negative.code: 			commit4(AccessRequest, StateData);
  		_ScalarP_Out_of_Range ->
  			EapPacket = #eap_packet{code = failure, identifier = EapID},
  			send_radius_response(EapPacket, ?AccessReject, [], RadiusID,
  					RequestAuthenticator, RequestAttributes, StateData),
  			{stop, {shutdown, SessionID}, StateData}
  	end.
  