aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-03-08 23:07:58 +0100
committerMicael Karlberg <[email protected]>2011-03-08 23:07:58 +0100
commit2c6dfeef2e9e4622f9e6a587b4f92d5e76f2ee73 (patch)
tree5de2fbd6e44a273b0c7c0c5e622d44f521397585
parent49071db42818592e99950e5e971e877bb2ca2f59 (diff)
downloadotp-2c6dfeef2e9e4622f9e6a587b4f92d5e76f2ee73.tar.gz
otp-2c6dfeef2e9e4622f9e6a587b4f92d5e76f2ee73.tar.bz2
otp-2c6dfeef2e9e4622f9e6a587b4f92d5e76f2ee73.zip
Used invalid module names in two places. Corrected.
-rw-r--r--lib/snmp/src/agent/snmp_target_mib.erl2
-rw-r--r--lib/snmp/src/agent/snmpa_acm.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/snmp/src/agent/snmp_target_mib.erl b/lib/snmp/src/agent/snmp_target_mib.erl
index c7fc449bd2..a2820269d0 100644
--- a/lib/snmp/src/agent/snmp_target_mib.erl
+++ b/lib/snmp/src/agent/snmp_target_mib.erl
@@ -719,7 +719,7 @@ verify_targetAddrTable_col(?snmpTargetAddrTAddress, TAddress, ValidCols) ->
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()),
+ TDomain = snmp_conf:mk_tdomain(default_domain()),
case (catch snmp_conf:check_taddress(TDomain, TAddress)) of
ok ->
TAddress;
diff --git a/lib/snmp/src/agent/snmpa_acm.erl b/lib/snmp/src/agent/snmpa_acm.erl
index b37c82429c..30bd34a205 100644
--- a/lib/snmp/src/agent/snmpa_acm.erl
+++ b/lib/snmp/src/agent/snmpa_acm.erl
@@ -117,7 +117,7 @@ error2status(_) -> genErr.
%% authentication_failure: no error response is sent, a trap is generated
%%-----------------------------------------------------------------
init_ca(Pdu, {community, SecModel, Community, TAddress}) ->
- TDomain = snmp_conf:mk_tdomain(snmp_transport_mib:default_domain()),
+ TDomain = snmp_conf:mk_tdomain(snmp_target_mib:default_domain()),
init_ca(Pdu, {community, SecModel, Community, TDomain, TAddress});
init_ca(Pdu, {community, SecModel, Community, TDomain, TAddress}) ->
%% This is a v1 or v2c request. Use SNMP-COMMUNITY-MIB to