anchor.diff:  	_ ->
   	    lager:warning("Rejecting JOIN without DTLS from ~s", [Peer]),
   	    RespElems = [#result_code{result_code = 18}],
  -	    Header = #capwap_header{radio_id = RadioId, wb_id = WBID, flags = Flags},
  +	    Header = #capwap_header{radio_id = 0, wb_id = WBID, flags = Flags},
   	    ?log_capwap_control(Peer, join_response, Seq, RespElems, Header),
   	    Answer = hd(capwap_packet:encode(control, {Header, {join_response, Seq, RespElems}})),
   	    {reply, Answer}
  
positive.code: 
  %% non-DTLS join-reqeust, check app config
  handle_plain_join(Peer, Seq, _Elements, #capwap_header{
  					   radio_id = RadioId, wb_id = WBID, flags = Flags}) ->
      case application:get_env(capwap, enforce_dtls_control, true) of
  	false ->
  	    lager:warning("Accepting JOIN without DTLS from ~s", [Peer]),
  
negative.code:     {stop, normal, State};
  
  join({configuration_status_request, Seq, Elements, #capwap_header{
  						      wb_id = WBID, flags = Flags}},
       State) ->
      RadioId = 1,
      SessionOpts = ctld_session:get(State#state.session),
      SessionAttrs = ['CAPWAP-Power-Save-Idle-Timeout',
                      'CAPWAP-Power-Save-Busy-Timeout',
  