aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/manager/snmpm_net_if.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2014-05-07 08:43:07 +0200
committerRaimo Niskanen <[email protected]>2014-07-25 12:15:14 +0200
commit382e91a930b3d20d4e4cce14ea6c3cbc7e4397d7 (patch)
tree5dfcd9909a5024315b8010d41e1b7309a50b5328 /lib/snmp/src/manager/snmpm_net_if.erl
parent89ca2960d421a43bced0a9f228a62b8ab3089663 (diff)
downloadotp-382e91a930b3d20d4e4cce14ea6c3cbc7e4397d7.tar.gz
otp-382e91a930b3d20d4e4cce14ea6c3cbc7e4397d7.tar.bz2
otp-382e91a930b3d20d4e4cce14ea6c3cbc7e4397d7.zip
Rewrite agent to use {Domain,Address} tuples as far as possible
Diffstat (limited to 'lib/snmp/src/manager/snmpm_net_if.erl')
-rw-r--r--lib/snmp/src/manager/snmpm_net_if.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/snmp/src/manager/snmpm_net_if.erl b/lib/snmp/src/manager/snmpm_net_if.erl
index 39e239f2a2..e7167cdb6b 100644
--- a/lib/snmp/src/manager/snmpm_net_if.erl
+++ b/lib/snmp/src/manager/snmpm_net_if.erl
@@ -425,7 +425,7 @@ handle_cast(Msg, State) ->
%%--------------------------------------------------------------------
handle_info({udp, Sock, Ip, Port, Bytes}, #state{sock = Sock} = State) ->
?vlog("received ~w bytes from ~p:~p [~w]", [size(Bytes), Ip, Port, Sock]),
- {Domain, Address} = snmp_conf:fix_domain_address(Ip, Port),
+ {Domain, Address} = snmp_conf:ip_port_to_domaddr(Ip, Port),
maybe_handle_recv_msg(Domain, Address, Bytes, State),
{noreply, State};