aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2014-04-25 16:26:13 +0200
committerRaimo Niskanen <[email protected]>2014-07-25 12:15:13 +0200
commit16b194c40f8a9ce2e12b82afd7d44bc782a80795 (patch)
treeab932af309fdadbcd4602a0335acaa7b664866a3 /lib/snmp/test
parent373d9fa059875a2d68251c485968d3aa78e830b4 (diff)
downloadotp-16b194c40f8a9ce2e12b82afd7d44bc782a80795.tar.gz
otp-16b194c40f8a9ce2e12b82afd7d44bc782a80795.tar.bz2
otp-16b194c40f8a9ce2e12b82afd7d44bc782a80795.zip
wip
Diffstat (limited to 'lib/snmp/test')
-rw-r--r--lib/snmp/test/snmp_agent_test_lib.erl6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/snmp/test/snmp_agent_test_lib.erl b/lib/snmp/test/snmp_agent_test_lib.erl
index 050ae0126d..e12a282a34 100644
--- a/lib/snmp/test/snmp_agent_test_lib.erl
+++ b/lib/snmp/test/snmp_agent_test_lib.erl
@@ -1536,11 +1536,7 @@ rewrite_target_addr_conf(Dir, NewPort) ->
end,
?line [TrapAddr|Addrs] =
- snmp_conf:read(
- TAFile,
- fun(R, S) ->
- {rewrite_target_addr_conf_check(R),S}
- end),
+ snmp_conf:read(TAFile, fun rewrite_target_addr_conf_check/1),
?DBG("rewrite_target_addr_conf -> TrapAddr: ~p",[TrapAddr]),