anchor.diff:  %% Check that both nodes can handle the same types of extended
   %% node containers. If they can not, abort the connection.
   %%
  -check_dflag_xnc(#hs_data{other_node = Node,
  -			 other_flags = OtherFlags,
  -			 other_started = OtherStarted} = HSData) ->
  -    XRFlg = ?DFLAG_EXTENDED_REFERENCES,
  -    XPPFlg = case erlang:system_info(compat_rel) of
  -		 R when R >= 10 ->
  -		     ?DFLAG_EXTENDED_PIDS_PORTS;
  -		 _ ->
  -		     0
  -	     end,
  -    ReqXncFlags = XRFlg bor XPPFlg,
  -    case OtherFlags band ReqXncFlags =:= ReqXncFlags of
  -	true ->
  -	    ok;
  -	false ->
  -	    What = case {OtherFlags band XRFlg =:= XRFlg,
  -			 OtherFlags band XPPFlg =:= XPPFlg} of
  -		       {false, false} -> "references, pids and ports";
  -		       {true, false} -> "pids and ports";
  -		       {false, true} -> "references"
  -		   end,
  +check_dflags(#hs_data{other_node = Node,
  +                      other_flags = OtherFlags,
  +                      other_started = OtherStarted} = HSData) ->
  +
  +    Mandatory = [{?DFLAG_EXTENDED_REFERENCES, "EXTENDED_REFERENCES"},
  +                 {?DFLAG_EXTENDED_PIDS_PORTS, "EXTENDED_PIDS_PORTS"}],
  +    Missing = lists:filtermap(fun({Bit, Str}) ->
  +                                      case Bit band OtherFlags of
  +                                          Bit -> false;
  +                                          0 -> {true, Str}
  +                                      end
  +                              end,
  +                              Mandatory),
  +    case Missing of
  +        [] ->
  +            ok;
  +        _ ->
   	    case OtherStarted of
   		true ->
   		    send_status(HSData, not_allowed),
  
positive.code:     NewHSData = HSData#hs_data{this_flags = ThisFlags,
  			       other_flags = OtherFlags, 
  			       other_started = false}, 
      check_dflag_xnc(NewHSData),
      MyChallenge = gen_challenge(),
      {MyCookie,HisCookie} = get_cookies(Node),
      send_challenge_reply(NewHSData,MyChallenge,
  
negative.code: 			     other_version=Version,
  			     other_node=Node,
  			     other_started=true},
      check_dflags(HSData),
      is_allowed(HSData),
      ?debug({"MD5 connection from ~p (V~p)~n",
  	    [Node, HSData#hs_data.other_version]}),
  