anchor.diff:      rpc:call(Node, snmpm, register_user,
                [otp16649, snmp_otp16649_user, self()]).
   
  -otp16649_mgr_reg_agent(Node, Target, PortNo) ->
  -    Localhost  = snmp_test_lib:localhost(),
  +otp16649_mgr_reg_agent(Node, IPFam, TDomain, Target, PortNo) ->
  +    ?IPRINT("otp16649_mgr_reg_agent -> entry with"
  +            "~n      Node:    ~p"
  +            "~n      IPFam:   ~p"
  +            "~n      TDomain: ~p"
  +            "~n      Target:  ~p"
  +            "~n      PortNo:  ~p",
  +            [Node, IPFam, TDomain, Target, PortNo]),
  +    Localhost  = ?LOCALHOST(IPFam),
       Config     = [{address,   Localhost},
                     {port,      PortNo},
                     {version,   v1},
  -                  {tdomain,   transportDomainUdpIpv4},
  +                  {tdomain,   TDomain},
                     {engine_id, "agentEngine"}],
       rpc:call(Node, snmpm, register_agent,
                 [otp16649, Target, Config]).
  
positive.code:     MibPath = join(MibDir, Mib),
      rpc:call(Node, snmpa, load_mib, [snmp_master_agent, MibPath]).
  
  otp16649_agent_send_trap(Node, testTrap2 = Trap) ->
      rpc:call(Node, snmpa, send_trap,
               [snmp_master_agent, Trap, "standard trap"]).
  
  
negative.code:     ReqTarget  = TargetBase ++ "req",
      TrapTarget = TargetBase ++ "trap",
  
      ?line ok = otp16649_mgr_reg_agent(ManagerNode,
                                        ?config(ipfamily, Config),
                                        ?config(tdomain, Config),
                                        ReqTarget, AgentReqPortNo),
      ?line ok = otp16649_mgr_reg_agent(ManagerNode,
                                        ?config(ipfamily, Config),
                                        ?config(tdomain, Config),
                                        TrapTarget, AgentTrapPortNo),
  
      ?IPRINT("(mgr) simple (sync) get request"),
      Oids     = [?sysObjectID_instance, ?sysDescr_instance, ?sysUpTime_instance],
  