diff options
author | Micael Karlberg <[email protected]> | 2011-07-12 09:58:56 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-07-12 11:22:17 +0200 |
commit | 8fceb07c652025c3742b6ba604460c853f7a2ad5 (patch) | |
tree | 4e79133d122e7175646e49435ef858465de85e6a /lib/snmp/src/agent | |
parent | 0c74867d39d80bb36960c9cb7fdfc3e82f76ebc8 (diff) | |
download | otp-8fceb07c652025c3742b6ba604460c853f7a2ad5.tar.gz otp-8fceb07c652025c3742b6ba604460c853f7a2ad5.tar.bz2 otp-8fceb07c652025c3742b6ba604460c853f7a2ad5.zip |
[manager] No way to specify transport domain. Transport domains was
assumed to be IPv4.
This has now been changed so that it can also be IPv6. To facilitate this,
the transportDomain is now a (new) valid option.
This also mean that the transport behaviour has changed.
OTP-9305
[agent] A temporary fix for transport domain, specifically regarding
trap sending. This is done in order to make testing possible,
pending merge from topic branch.
OTP-9400
Diffstat (limited to 'lib/snmp/src/agent')
-rw-r--r-- | lib/snmp/src/agent/snmpa_mpd.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/snmp/src/agent/snmpa_mpd.erl b/lib/snmp/src/agent/snmpa_mpd.erl index 0187fa93d7..5d276fd6de 100644 --- a/lib/snmp/src/agent/snmpa_mpd.erl +++ b/lib/snmp/src/agent/snmpa_mpd.erl @@ -1068,7 +1068,7 @@ transform_taddr(?transportDomainUdpIpv4, [A, B, C, D, P1, P2]) -> Addr = {A,B,C,D}, Port = P1 bsl 8 + P2, Address = {Addr, Port}, - {Domain, Address}; + {ok, {Domain, Address}}; transform_taddr(?transportDomainUdpIpv6, [A1, A2, A3, A4, A5, A6, A7, A8, P1, P2]) -> Domain = transportDomainUdpIpv6, |