aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/snmp')
-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