anchor.diff:  
   -include("include/capwap_packet.hrl").
   
  --record(state, {tref, timeout}).
  +-record(state, {state, tref, timeout}).
   
   -define(SERVER, ?MODULE).
   
  
positive.code: %% gen_server callbacks
  %%===================================================================
  init([]) ->
      State = connect(#state{tref = undefined, timeout = 10}),
      {ok, State}.
  
  handle_call(_Request, _From, State) ->
      {reply, ok, State}.
  
  handle_cast(_Request, State) ->
      {noreply, State}.
  
negative.code: 	    erlang:monitor_node(Node, true),
  	    clear(),
  	    bind(self()),
  	    State#state{state = connected, timeout = 10};
  	pang ->
  	    lager:warning("Node ~p is down", [Node]),
  	    start_nodedown_timeout(State)
      end.
  
  handle_nodedown(State) ->
      State#state{state = disconnected}.
  
  %%%===================================================================
  %%% Development helper
  