anchor.diff:  -include_lib("diameter/include/diameter.hrl").
   -include_lib("diameter/include/diameter_gen_base_rfc6733.hrl").
   -include("../include/diameter_gen_nas_application_rfc7155.hrl").
  +
  +-define(CC_APPLICATION_ID, 4).
   
   -record(statedata,
   		{protocol :: radius | diameter,
  
positive.code: 	response(?AccessReject, RejectAttributes, StateData),
  	{stop, {shutdown, SessionID}, StateData}.
  
  -spec handle_event(Event, StateName, StateData) -> Result
  	when
  		Event :: term(), 
  
negative.code: %% @@see //stdlib/gen_fsm:StateName/2
  %% @private
  %%
  %% @todo handle muliti session for diameter
  request(timeout, #statedata{protocol = radius} = StateData) ->
  	handle_radius(StateData);
  request(timeout, #statedata{protocol = diameter} = StateData) ->
  	handle_diameter(StateData);
  request(disconnected, #statedata{protocol = radius} = StateData) ->
  	handle_radius3(StateData);
  request(disconnected, #statedata{protocol = diameter} = StateData) ->
  	handle_diameter2(StateData).
  
  %% @hidden
  handle_radius(#statedata{req_attr = Attributes, req_auth = Authenticator,
  