aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/manager/snmpm_net_if.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2014-05-23 17:23:49 +0200
committerRaimo Niskanen <[email protected]>2014-07-25 12:17:49 +0200
commitf8efe4ff765e9067172d70e0d93f15fb9f8bd98b (patch)
tree4b00d283720bef0004edcf23e6f6dd6e06cff82a /lib/snmp/src/manager/snmpm_net_if.erl
parent827f952ce799f2051f60f0f8002d2e3908b2b5da (diff)
downloadotp-f8efe4ff765e9067172d70e0d93f15fb9f8bd98b.tar.gz
otp-f8efe4ff765e9067172d70e0d93f15fb9f8bd98b.tar.bz2
otp-f8efe4ff765e9067172d70e0d93f15fb9f8bd98b.zip
Mend manager to pass regression tests
Diffstat (limited to 'lib/snmp/src/manager/snmpm_net_if.erl')
-rw-r--r--lib/snmp/src/manager/snmpm_net_if.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/snmp/src/manager/snmpm_net_if.erl b/lib/snmp/src/manager/snmpm_net_if.erl
index e7167cdb6b..d7f17e0b7f 100644
--- a/lib/snmp/src/manager/snmpm_net_if.erl
+++ b/lib/snmp/src/manager/snmpm_net_if.erl
@@ -425,8 +425,8 @@ 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:ip_port_to_domaddr(Ip, Port),
- maybe_handle_recv_msg(Domain, Address, Bytes, State),
+ Domain = snmpm_config:default_transport_domain(),
+ maybe_handle_recv_msg(Domain, {Ip, Port}, Bytes, State),
{noreply, State};
handle_info(inform_response_gc, State) ->