anchor.diff:      start_agent(Config),
       ok = snmpa:load_mib(snmp_master_agent, filename:join(DataDir, Mib)),
   
  -    ManagerPortStr = integer_to_list(ManagerPort),
       TrapAddrs =
  -	net_snmp_transport(ipv4) ++ Host ++ ":" ++ ManagerPortStr ++
  +	net_snmp_addr_str(TrapAddr1, ManagerPort) ++
   	"," ++
  -	net_snmp_transport(ipv6) ++ Host ++ ":" ++ ManagerPortStr,
  +	net_snmp_addr_str(TrapAddr2, ManagerPort),
       ProgHandle = start_snmptrapd(Mib, TrapAddrs, Config),
   
       snmpa:send_notification(
  
positive.code: 
  %%--------------------------------------------------------------------
  erlang_agent_netsnmp_inform(Config) when is_list(Config) ->
      Host = ?config(host, Config),
      IPVersion = ?config(ip_version, Config),    
      DataDir = ?config(data_dir, Config),  
      Mib = "TestTrapv2",
  
      start_agent(Config),
      ok = snmpa:load_mib(snmp_master_agent, filename:join(DataDir, Mib)),
  
      TrapAddr = net_snmp_transport(IPVersion) ++ Host ++
  	":" ++ integer_to_list(?config(manager_port, Config)),
      ProgHandle = start_snmptrapd(Mib, TrapAddr, Config),
  
      snmpa:send_notification(
        snmp_master_agent, testTrapv22, {erlang_agent_test, self()}),
  
negative.code: %%--------------------------------------------------------------------
  snmpget(Oid, Config) ->
      Versions = ?config(snmp_versions, Config),
      [TrapAddr | _] = ?config(trapaddrs, Config),
      Port = ?config(agent_port, Config),
  
      Args =
  	["-c", "public", net_snmp_version(Versions),
  	 "-m", "",
  	 "-Cf",
  	 net_snmp_addr_str(TrapAddr, Port),
  	 oid_str(Oid)],
      ProgHandle = start_program(snmpget, Args, none, Config),
      {_, line, Line} = get_program_output(ProgHandle),
  