anchor.diff:  
   -include("eradius_lib.hrl").
   -include("eradius_dict.hrl").
  +-include("dictionary.hrl").
   
   -type sender() :: {inet:ip_address(), eradius_server:port_number(), eradius_server:req_id()}.
   
  
positive.code: 
  -spec collect_message(sender(),#radius_request{}) -> iolist().
  collect_message({NASIP, NASPort, ReqID}, Request) ->
      io_lib:format("~s:~p [~p]: ~s",[inet:ntoa(NASIP), NASPort, ReqID, format_cmd(Request#radius_request.cmd)]).
  
  -spec reconfigure() -> ok.
  reconfigure() ->
  
negative.code: -compile({inline, bin_to_hexstr/1}).
  bin_to_hexstr(Bin) ->
      << << (hexchar(X)) >> || <<X:4>> <= Bin >>.
  
  format_acc_class(Request) ->
      case eradius_lib:get_attr(Request, ?Class) of
  	undefined ->
  	    "";
  	RequestClass ->
  	    RequestClass
      end.
  
  format_acct_status_type(Request) ->
      StatusType = eradius_lib:get_attr(Request, ?Acct_Status_Type),
      case StatusType of
  	undefined ->
  	    "";
  	1 ->
  	    "Start";
  	2 ->
  	    "Stop";
  	3 ->
  	    "Interim Update";
  	7 ->
  	    "Accounting-On";
  	8 ->
  	    "Accounting-Off"
      end.
  