anchor.diff:      TrapAddr = {IpAddr, ManagerPort},
       Versions = [v2],
       agent_config(Dir, Transports, Domain, TrapAddr, Versions),
  -    [{host, Host}, {snmp_versions, Versions}, {ip_version, ipv4}
  +    [{snmp_versions, Versions}, {ip_version, ipv4},
  +     {trapaddrs, [IpAddr]}
        | Config];
   %%
   init_per_group(dual_ip, Config) ->
  
positive.code: %%--------------------------------------------------------------------
  snmpget(Oid, Config) ->
      Versions = ?config(snmp_versions, Config),
      IPVersion = ?config(ip_version, Config),
      Host = ?config(host, Config),
      Port = ?config(agent_port, Config),
  
      Args =
  	["-c", "public", net_snmp_version(Versions),
  	 "-m", "",
  	 "-Cf",
  	 net_snmp_transport(IPVersion)++Host++":"++ integer_to_list(Port),
  	 oid_str(Oid)],
      ProgHandle = start_program(snmpget, Args, none, Config),
      {_, line, Line} = get_program_output(ProgHandle),
  
negative.code: net_snmp_version([v1 | _]) ->
      "-v1".
  
  net_snmp_addr_str(IPv4Addr, Port) when tuple_size(IPv4Addr) =:= 4 ->
      "udp:" ++
  	inet_parse:ntoa(IPv4Addr) ++ ":" ++
  	integer_to_list(Port);
  net_snmp_addr_str(IPv6Addr, Port) when tuple_size(IPv6Addr) =:= 8 ->
      "udp6:[" ++
  	inet_parse:ntoa(IPv6Addr) ++ "]:" ++
  	integer_to_list(Port).
  