anchor.diff:              State#?STATE{aux_id = 0, datapath_mac = DatapathMac};
           _ ->
           	{_MsgName, _MsgXid, MsgRes} = of_msg_lib:decode(Msg),
  -          DPID = proplists:get_value(datapath_id,  MsgRes),
  +                        DPID = proplists:get_value(datapath_id,  MsgRes),
             PDMAC = proplists:get_value(datapath_mac, MsgRes),
             DatapathMac = of_driver_utils:datapath_mac(DPID,PDMAC),
           	AuxID = proplists:get_value(auxiliary_id, MsgRes),
  
positive.code:     connection_close_callback(SwitchHandler, HandlerState, AuxID),
      {stop, normal, State#?STATE{socket = undefined}}.
  
  connection_close_callback(Module, HandlerState, 0) ->
      Module:terminate(driver_closed_connection, HandlerState);
  connection_close_callback(Module, HandlerState, _AuxID) ->
  
negative.code:     {ok, NewState};
  handle_messages([Message|Rest], NewState) ->
      ?DEBUG("Receive from ~p: ~p~n", [NewState#?STATE.address, Message]),
      ls_metrics:handle_packet_in(NewState#?STATE.datapath_mac, Message),
      case handle_message(Message, NewState) of
          {stop, Reason, State} ->
              {stop, Reason, State};
  