anchor.diff:  
   -define(DEBUG_OPTS,[{install, {fun lager_sys_debug:lager_gen_fsm_trace/3, ?MODULE}}]).
   
  +-define(log_capwap_control(Id, MsgType, SeqNo, Elements, Header),
  +	begin
  +	    #capwap_header{radio_id = RadioId, wb_id = WBID} = Header,
  +	    lager:info("~s: ~s(Seq: ~w, R-Id: ~w, WB-Id: ~w): ~p", [Id, capwap_packet:msg_description(MsgType), SeqNo, RadioId, WBID, [lager:pr(E, ?MODULE) || E <- Elements]])
  +	end).
  +
   %%%===================================================================
   %%% API
   %%%===================================================================
  
positive.code:     State#state{seqno = (SeqNo + 1) rem 256}.
  
  send_response(Header, MsgType, Seq, MsgElems, State) ->
      log_capwap_control(peer_log_str(State), MsgType, Seq, MsgElems, Header),
      Msg = {Header, {MsgType, Seq, MsgElems}},
      stream_send(Msg, State#state{last_response = {Seq, Msg}}).
  
  
negative.code: peer_log_str(#state{id = Id, peer = Peer}) ->
      io_lib:format("~s[~s]", [Id, format_peer(Peer)]).
  
  next_state(NextStateName, State)
    when NextStateName == idle; NextStateName == run ->
      {next_state, NextStateName, State};
  