anchor.diff:      TunnelModes = ie(wtp_frame_tunnel_mode, Elements),
       State1 = State0#state{mac_types = MacTypes, tunnel_modes = TunnelModes, version = Version},
   
  -    RespElements = ac_info_version(Version) ++ [#result_code{result_code = 0}],
  +    RespElements = ac_info_version(join, Version) ++ [#result_code{result_code = 0}],
       Header = #capwap_header{radio_id = RadioId, wb_id = WBID, flags = Flags},
       State = send_response(Header, join_response, Seq, RespElements, State1),
       SessionOpts = wtp_accounting_infos(Elements, [{'TP-CAPWAP-Radio-Id', RadioId}]),
  
positive.code: 				radio_id = RadioId, wb_id = WBID, flags = Flags}},
       State) ->
      lager:debug("discover_request: ~p~n", [[lager:pr(E, ?MODULE) || E <- Elements]]),
      RespElements = ac_info(Elements),
      Header = #capwap_header{radio_id = RadioId, wb_id = WBID, flags = Flags},
      State1 = send_response(Header, discovery_response, Seq, RespElements, State),
      next_state(idle, State1);
  
negative.code: answer_discover(Seq, Elements, #capwap_header{
  		       radio_id = RadioId, wb_id = WBID, flags = Flags}) ->
      lager:debug("discover_request: ~p~n", [[lager:pr(E, ?MODULE) || E <- Elements]]),
      RespElems = ac_info(discover, Elements),
      Header = #capwap_header{radio_id = RadioId, wb_id = WBID, flags = Flags},
      capwap_packet:encode(control, {Header, {discovery_response, Seq, RespElems}}).
  
  