anchor.diff:  	    Error
       end;
   snmpTargetAddrTable(is_set_ok, RowIndex, Cols0) ->
  -    case (catch verify_targetAddrTable_cols(Cols0, [])) of
  +    case (catch verify_targetAddrTable_cols(Cols0)) of
   	{ok, Cols} ->
   	    %% Add columns for augmenting table snmpTargetAddrExtTable and for
  -	    %% target engine ID.  Target engine ID is set to "".  The function
  +	    %% target engine ID. Target engine ID is set to "". The function
   	    %% get_target_engine_id will return "" unless a value is set using
  -	    %% set_target_engine_id.  If it is "" Informs can't be sent to the
  +	    %% set_target_engine_id. If it is "" Informs can't be sent to the
   	    %% target.
   	    NCols = Cols ++ [{?snmpTargetAddrEngineId, ""},
   			     {?snmpTargetAddrTMask, []},
  
positive.code: check_engine_id(EngineId) ->
      snmp_conf:check_string(EngineId).
  
  check_mask([], _TAddr) ->
      ok;
  check_mask(TMask, TAddr) when length(TMask) == length(TAddr) ->
      snmp_conf:check_taddress(TMask);
  check_mask(TMask, _TAddr) ->
      throw({error, {invalid_mask, TMask}}).
  
  
  
negative.code:     Db = db(snmpTargetAddrTable), 
      snmp_generic:table_func(Op, Arg1, Arg2, Db).
  
  verify_targetAddrTable_cols(Cols) ->
      ValidCols0 = verify_targetAddrTable_cols(Cols, []),
      %% Make a last pass to verify TDomain and TAddress.
      ValidCols0.
  
  verify_targetAddrTable_cols([], Cols) ->
      {ok, lists:reverse(Cols)};
  verify_targetAddrTable_cols([{Col, Val0}|Cols], ValidCols) ->
      Val = verify_targetAddrTable_col(Col, Val0, ValidCols),
      verify_targetAddrTable_cols(Cols, [{Col, Val}|ValidCols]).
  
  verify_targetAddrTable_col(?snmpTargetAddrName, Name, _) ->
      case (catch snmp_conf:check_string(Name)) of
  	ok ->
  	    Name;
  	_ ->
  	    wrongValue(?snmpTargetAddrName)
      end;
  verify_targetAddrTable_col(?snmpTargetAddrTDomain, TDomain, _) ->
      case (catch snmp_conf:check_tdomain(TDomain)) of
  	ok ->
  	    TDomain;
  	_ ->
  	    wrongValue(?snmpTargetAddrTDomain)
      end;
  %% In order to (properly) validate the TAddress, 
  %% the TDomain must already have been validated 
  %% (the format of TAddress depends on TDomain).
  verify_targetAddrTable_col(?snmpTargetAddrTAddress, TAddress, ValidCols) ->
      case lists:keysearch(?snmpTargetAddrTDomain, 1, ValidCols) of
  	{value, {?snmpTargetAddrTDomain, TDomain}} ->
  	    case (catch snmp_conf:check_taddress(TDomain, TAddress)) of
  		ok ->
  		    TAddress;
  		_ ->
  		    wrongValue(?snmpTargetAddrTAddress)
  	    end;
  	false ->
  	    %% The user did not provide us with a TDomain, which 
  	    %% must mean that he/she intends to use the old domain. 
  	    TDomain = snmp_misc:mk_tdomain(default_domain()),
  	    case (catch snmp_conf:check_taddress(TDomain, TAddress)) of
  		ok ->
  		    TAddress;
  		_ ->
  		    wrongValue(?snmpTargetAddrTAddress)
  	    end	    
      end;
  verify_targetAddrTable_col(?snmpTargetAddrTimeout, Timeout, _) ->
      case (catch snmp_conf:check_integer(Timeout)) of
  	ok when Timeout >= 0 ->
  	    Timeout;
  	_ ->
  	    wrongValue(?snmpTargetAddrTimeout)
      end;
  verify_targetAddrTable_col(?snmpTargetAddrRetryCount, Retry, _) ->
      case (catch snmp_conf:check_integer(Retry)) of
  	ok when Retry >= 0 ->
  	    Retry;
  	_ ->
  	    wrongValue(?snmpTargetAddrRetryCount)
      end;
  verify_targetAddrTable_col(?snmpTargetAddrTagList, TagList, _) ->
      case (catch snmp_conf:check_string(TagList)) of
  	ok ->
  	    TagList;
  	_ ->
  	    wrongValue(?snmpTargetAddrTagList)
      end;
  verify_targetAddrTable_col(?snmpTargetAddrParams, Params, _) ->
      case (catch snmp_conf:check_string(Params)) of
  	ok ->
  	    Params;	
  	_ ->
  	    wrongValue(?snmpTargetAddrParams)
      end;
  verify_targetAddrTable_col(_, Val, _) ->
      Val.
      
  
  