aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-03-27 11:00:53 +0100
committerMicael Karlberg <[email protected]>2019-03-28 17:14:56 +0100
commitb528d830a741f6611b704ddcce1e702b41757c36 (patch)
treea05855e7eb8d315494331f4662ccb535705d395f /lib/snmp/test
parentc842e38a1be4a92f14a309a6ccb66f33b5585088 (diff)
downloadotp-b528d830a741f6611b704ddcce1e702b41757c36.tar.gz
otp-b528d830a741f6611b704ddcce1e702b41757c36.tar.bz2
otp-b528d830a741f6611b704ddcce1e702b41757c36.zip
[snmp|agent] Add the net-if data (Extra) argument to get-callbacks
Added the Extra (net-if data) argument to all the get- mechanism callback functions. OTP-15691
Diffstat (limited to 'lib/snmp/test')
-rw-r--r--lib/snmp/test/snmp_agent_test_get.erl25
1 files changed, 14 insertions, 11 deletions
diff --git a/lib/snmp/test/snmp_agent_test_get.erl b/lib/snmp/test/snmp_agent_test_get.erl
index 46436044f5..517c71507a 100644
--- a/lib/snmp/test/snmp_agent_test_get.erl
+++ b/lib/snmp/test/snmp_agent_test_get.erl
@@ -28,28 +28,31 @@
%%%-----------------------------------------------------------------
-export([
- do_get/2, do_get/3,
- do_get_next/2,
- do_get_bulk/6
+ do_get/3, do_get/4,
+ do_get_next/3,
+ do_get_bulk/7
]).
-do_get(UnsortedVarbinds, IsNotification) ->
- snmpa_get:do_get(UnsortedVarbinds, IsNotification).
+do_get(UnsortedVarbinds, IsNotification, Extra) ->
+ snmpa_get:do_get(UnsortedVarbinds, IsNotification, Extra).
-do_get(MibView, UnsortedVarbinds, IsNotification) ->
- snmpa_get:do_get(MibView, UnsortedVarbinds, IsNotification).
+do_get(MibView, UnsortedVarbinds, IsNotification, Extra) ->
+ snmpa_get:do_get(MibView, UnsortedVarbinds, IsNotification, Extra).
-do_get_next(MibView, UnsortedVBs) ->
- snmpa_get:do_get_next(MibView, UnsortedVBs).
+do_get_next(MibView, UnsortedVBs, Extra) ->
+ snmpa_get:do_get_next(MibView, UnsortedVBs, Extra).
-do_get_bulk(MibView, NonRepeaters, MaxRepetitions, PduMS, Varbinds, GbMaxVBs) ->
+
+do_get_bulk(MibView, NonRepeaters, MaxRepetitions,
+ PduMS, Varbinds, GbMaxVBs, Extra) ->
snmpa_get:do_get_bulk(MibView, NonRepeaters, MaxRepetitions,
- PduMS, Varbinds, GbMaxVBs).
+ PduMS, Varbinds, GbMaxVBs,
+ Extra).