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