anchor.diff:  			{SecModel, SecName, mk_sec_level_flag(SecLevel), 
   			 EngineId, CtxName, TargetName};
   		    _ ->
  -			DefComm     = agent_data_item(community, Info),
  -			DefSecModel = agent_data_item(sec_model, Info),
  +			DefComm     = agent_data_item(community, TargetName),
  +			DefSecModel = agent_data_item(sec_model, TargetName),
   			
   			Comm        = agent_data_item(community, 
   						      SendOpts, 
  
positive.code: 			
  			{Comm, SecModel}
  		end,
  	    Domain  = agent_data_item(tdomain,  Info),
  	    Addr    = agent_data_item(address,  Info),
  	    Port    = agent_data_item(port,     Info),
  	    RegType = agent_data_item(reg_type, Info),
  	    {ok, RegType, Domain, Addr, Port, version(Version), MsgData};
  	Error ->
  	    Error
      end.
  
  agent_data_item(Item, Info) ->
      case lists:keysearch(Item, 1, Info) of
  	{value, {_, Val}} ->
  	    Val;
  	false ->
  	    throw({error, {not_found, Item, Info}})
      end.
  
  agent_data_item(Item, Info, Default) ->
  
negative.code: %%----------------------------------------------------------------------
  
  agent_data(TargetName, SendOpts) ->
      case snmpm_config:agent_info(TargetName, version) of
  	{ok, Version} ->
  	    MsgData = 
  		case Version of
  		    v3 ->
  			DefSecModel = agent_data_item(sec_model, TargetName),
  			DefSecName  = agent_data_item(sec_name,  TargetName),
  			DefSecLevel = agent_data_item(sec_level, TargetName),
  			
  			EngineId    = agent_data_item(engine_id, TargetName),
  			CtxName     = agent_data_item(context, 
  						      SendOpts, 
  						      ?DEFAULT_CONTEXT),
  