aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent/snmpa_local_db.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2014-05-16 15:11:05 +0200
committerRaimo Niskanen <[email protected]>2014-07-25 12:15:15 +0200
commitc1104d6708917d7ec0b3b77340242b679ee10122 (patch)
treefc16d5bd4115533e6d5f3899883674ae63eb92b5 /lib/snmp/src/agent/snmpa_local_db.erl
parent9a955974c52baa62ca7283f86257ddca59d4dfd3 (diff)
downloadotp-c1104d6708917d7ec0b3b77340242b679ee10122.tar.gz
otp-c1104d6708917d7ec0b3b77340242b679ee10122.tar.bz2
otp-c1104d6708917d7ec0b3b77340242b679ee10122.zip
wip: Testcase feedback
Diffstat (limited to 'lib/snmp/src/agent/snmpa_local_db.erl')
-rw-r--r--lib/snmp/src/agent/snmpa_local_db.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/snmp/src/agent/snmpa_local_db.erl b/lib/snmp/src/agent/snmpa_local_db.erl
index f991244287..292c370d51 100644
--- a/lib/snmp/src/agent/snmpa_local_db.erl
+++ b/lib/snmp/src/agent/snmpa_local_db.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2013. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -1011,6 +1011,10 @@ table_construct_row(Name, RowIndex, Status, Cols) ->
defvals = Defs, status_col = StatusCol,
first_own_index = FirstOwnIndex, not_accessible = NoAccs} =
snmp_generic:table_info(Name),
+ ?vtrace(
+ "table_construct_row Indexes: ~p~n"
+ " RowIndex: ~p",
+ [Indexes, RowIndex]),
Keys = snmp_generic:split_index_to_keys(Indexes, RowIndex),
OwnKeys = snmp_generic:get_own_indexes(FirstOwnIndex, Keys),
Row = OwnKeys ++ snmp_generic:table_create_rest(length(OwnKeys) + 1,