anchor.diff:  
   %% ---------
   
  -check_ip(X) when is_list(X) andalso (length(X) =:= 4) ->
  +check_domain(Domain) ->
  +    SupportedDomains = 
  +	[
  +	 snmpUDPDomain, 
  +	 transportDomainUdpIpv4,
  +	 transportDomainUdpIpv6
  +	],
  +    AllDomains = 
  +	[
  +	 transportDomainUdpIpv4, 
  +	 transportDomainUdpIpv6, 
  +	 transportDomainUdpIpv4z, 
  +	 transportDomainUdpIpv6z, 
  +	 transportDomainTcpIpv4, 
  +	 transportDomainTcpIpv6, 
  +	 transportDomainTcpIpv4z, 
  +	 transportDomainTcpIpv6z, 
  +	 transportDomainSctpIpv4, 
  +	 transportDomainSctpIpv6, 
  +	 transportDomainSctpIpv4z, 
  +	 transportDomainSctpIpv6z, 
  +	 transportDomainLocal, 
  +	 transportDomainUdpDns, 
  +	 transportDomainTcpDns,
  +	 transportDomainSctpDns
  +	],
  +    case lists:member(Domain, SupportedDomains) of
  +	true ->
  +	    ok;
  +	false ->
  +	    case lists:member(Domain, AllDomains) of
  +		true ->
  +		    error({unsupported_domain, Domain});
  +		false ->
  +		    error({unknown_domain, Domain})
  +	    end
  +    end.
  +	    
  +
  +%% ---------
  +
  +check_ip(X) ->
  +    check_ip(snmpUDPDomain, X).
  +
  +check_ip(snmpUDPDomain, X) ->
  +    check_ip(transportDomainUdpIpv4, X);
  +check_ip(transportDomainUdpIpv4, X) when is_list(X) andalso (length(X) =:= 4) ->
       case (catch all_integer(X)) of
   	true  -> 
   	    ok;
   	false -> 
   	    error({invalid_ip_address, X})
       end;
  -check_ip(X) ->
  -    error({invalid_ip_address, X}).
  +check_ip(transportDomainUdpIpv4, X) ->
  +    error({invalid_ip_address, X});
  +
  +check_ip(transportDomainUdpIpv6, X) when is_list(X) andalso (length(X) =:= 8) ->
  +    case (catch all_integer(X)) of
  +	true  -> 
  +	    ok;
  +	false -> 
  +	    error({invalid_ip_address, X})
  +    end;
  +check_ip(transportDomainUdpIpv6, X) ->
  +    error({invalid_ip_address, X});
  +
  +check_ip(BadDomain, _X) ->
  +    error({invalid_domain, BadDomain}).
  +
   
   
   %% ---------
  
positive.code: 
  %% ---------
  
  check_taddress(X) when is_list(X) andalso (length(X) =:= 6) ->
      case (catch all_integer(X)) of
  	true  -> 
  	    ok;
  	false -> 
  	    error({invalid_taddress, X})
      end;
  check_taddress(X) ->
      error({invalid_taddress, X}).
  
  
  %% ---------
  
negative.code: 
  
  -define(SNMP_USE_V3, true).
  -include_lib("snmp/include/snmp_types.hrl").
  -include_lib("snmp/include/SNMP-FRAMEWORK-MIB.hrl").
  -include_lib("snmp/include/TRANSPORT-ADDRESS-MIB.hrl").
  -include_lib("snmp/include/SNMPv2-TM.hrl").
  
  -define(VMODULE,"CONF").
  -include("snmp_verbosity.hrl").
  