anchor.diff:  
   
   %%%-----------------------------------------------------------------
  -%%% Audit Trail Log functions (for backward compatibillity)
  +%%% Audit Trail Log functions (for backward compatibility)
   %%%-----------------------------------------------------------------
   log_to_txt(LogDir, Mibs) ->
       OutFile = "snmpm_log.txt",       
  
positive.code: unregister_agent(UserId, TargetName) when is_list(TargetName) ->
      snmpm_config:unregister_agent(UserId, TargetName);
  
  %% Backward compatibillity functions
  unregister_agent(UserId, Addr) ->
      unregister_agent(UserId, Addr, ?DEFAULT_AGENT_PORT).
  
  
negative.code: 	is_list(Config)) ->
      do_register_agent(UserId, TargetName, [{reg_type, target_name} | Config]);
  
  %% Backward compatibility 
  %% Note that the agent engine id is a mandatory config option,
  %% so this function *will* fail!
  register_agent(UserId, Addr, Port) when is_integer(Port) ->
      register_agent(UserId, Addr, Port, []);
  
  %% Backward compatibility 
  register_agent(UserId, Addr, Config) when is_list(Config) ->
      register_agent(UserId, Addr, ?DEFAULT_AGENT_PORT, Config).
  
  %% Backward compatibility 
  %% Note that the agent engine id is a mandatory config option,
  %% so this function *will* fail!
  register_agent(UserId, Addr) ->
      register_agent(UserId, Addr, ?DEFAULT_AGENT_PORT, []).
  
  %% Backward compatibility 
  register_agent(UserId, Addr, Port, Config0) ->
      case lists:keymember(target_name, 1, Config0) of
  	false ->
  