aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-07-08 15:39:04 +0200
committerMicael Karlberg <[email protected]>2011-07-08 15:39:04 +0200
commit1caa7dd1b8df39d487c43a5c11987fbcc4640529 (patch)
tree5e095a49c0602334bb4465261a1c5ff1b16777fe /lib/snmp/src
parent0ad38017c9346733be12db6494264065de7f661b (diff)
downloadotp-1caa7dd1b8df39d487c43a5c11987fbcc4640529.tar.gz
otp-1caa7dd1b8df39d487c43a5c11987fbcc4640529.tar.bz2
otp-1caa7dd1b8df39d487c43a5c11987fbcc4640529.zip
[agent] Wrong default transport domain, snmpUDPDomain, instead
of transportDomainUdpIpv4. OTP-9425
Diffstat (limited to 'lib/snmp/src')
-rw-r--r--lib/snmp/src/agent/snmp_target_mib.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/snmp/src/agent/snmp_target_mib.erl b/lib/snmp/src/agent/snmp_target_mib.erl
index 77910541a2..25b3dab088 100644
--- a/lib/snmp/src/agent/snmp_target_mib.erl
+++ b/lib/snmp/src/agent/snmp_target_mib.erl
@@ -53,7 +53,7 @@
%%-----------------------------------------------------------------
default_domain() ->
- snmpUDPDomain.
+ transportDomainUdpIpv4.
%%-----------------------------------------------------------------
@@ -436,7 +436,8 @@ is_valid_tag(TDomain, TAddress, Tag, Key) ->
%% TargAddrs =
%% [{TagList, TargetAddr, TargetAddrName, TargetParams, Timeout, Retry}]
-%% TargetAddr = {TDomain, TAddr}; e.g. {?snmpUDPDomain, IpAndUdpPortAsList}
+%% TargetAddr = {TDomain, TAddr}; e.g.
+%% {?transportDomainUdpIpv4, IpAndUdpPortAsList}
get_target_addrs() ->
get_target_addrs([], db(snmpTargetAddrTable), []).