anchor.diff:      ReqTarget  = TargetBase ++ "req",
       TrapTarget = TargetBase ++ "trap",
   
  -    ?line ok = otp16649_mgr_reg_agent(ManagerNode, ReqTarget, AgentReqPortNo),
  -    ?line ok = otp16649_mgr_reg_agent(ManagerNode, TrapTarget, AgentTrapPortNo),
  +    ?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],
  
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:     rpc:call(Node, snmpm, register_user,
               [otp16649, snmp_otp16649_user, self()]).
  
  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,   TDomain},
                    {engine_id, "agentEngine"}],
      rpc:call(Node, snmpm, register_agent,
                [otp16649, Target, Config]).
  