anchor.diff:      end.
   
   %% @private
  -handle_info(ReqUDP = {udp, Socket, FromIP, FromPortNo, Packet}, State  = #state{name = ServerName, transacts = Transacts, ip = IP, port = Port}) ->
  +handle_info(ReqUDP = {udp, Socket, FromIP, FromPortNo, Packet}, 
  +            State  = #state{name = ServerName, transacts = Transacts, ip = IP, port = Port}) ->
       TS1 = eradius_metrics:timestamp(milli_seconds),
       ServerAddress = {ServerName, {IP, Port}},
       case lookup_nas(State, FromIP, Packet) of
  
positive.code:                 [] ->
                      HandlerPid = proc_lib:spawn_link(?MODULE, do_radius, [self(), ReqKey, Handler, NNasProp, ReqUDP, TS1]),
                      ets:insert(Transacts, {ReqKey, {handling, HandlerPid}}),
                      eradius_metrics:update_nas_request(pending, NasProp#nas_prop.metrics_info, 1);
                  [{_ReqKey, {handling, HandlerPid}}] ->
                      %% handler process is still working on the request
  
negative.code: handle_info({replied, ReqKey, HandlerPid}, State = #state{transacts = Transacts}) ->
      ets:insert(Transacts, {ReqKey, {replied, HandlerPid}}),
      {noreply, State};
  handle_info({'EXIT', HandlerPid, _Reason}, State = #state{transacts = Transacts}) ->
      [ets:delete(Transacts, ReqKey) || {_, ReqKey} <- ets:take(Transacts, HandlerPid)],
      {noreply, State};
  handle_info(_Info, State) ->
      {noreply, State}.
  