anchor.diff:      {PreOtherFlags,Node,Version} = recv_name(HSData0),
       EDF = erts_internal:get_dflags(),
       PreThisFlags = make_this_flags(ReqType, AddFlgs, RejFlgs, Node, EDF),
  -    {ThisFlags, OtherFlags} = adjust_flags(PreThisFlags,
  -					   PreOtherFlags,
  -                                           RejFlgs),
  -    HSData = HSData0#hs_data{this_flags=ThisFlags,
  -			     other_flags=OtherFlags,
  +    ChosenFlags = adjust_flags(PreThisFlags, PreOtherFlags),
  +    HSData = HSData0#hs_data{this_flags=ChosenFlags,
  +			     other_flags=ChosenFlags,
   			     other_version=Version,
   			     other_node=Node,
   			     other_started=true,
  
positive.code:     send_name(HSData),
      recv_status(HSData),
      {PreOtherFlags,ChallengeA} = recv_challenge(HSData),
      {ThisFlags,OtherFlags} = adjust_flags(PreThisFlags,
                                            PreOtherFlags,
                                            RejFlgs),
      NewHSData = HSData#hs_data{this_flags = ThisFlags,
  			       other_flags = OtherFlags, 
  			       other_started = false}, 
      check_dflags(NewHSData, EDF),
      MyChallenge = gen_challenge(),
  
negative.code:     "UNKNOWN".
  
  
  adjust_flags(ThisFlags, OtherFlags) ->
      ThisFlags band OtherFlags.
  
  publish_flag(hidden, _) ->
      0;
  