aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2014-06-26 10:50:24 +0200
committerRaimo Niskanen <[email protected]>2014-07-25 12:17:50 +0200
commitdfb5cf6e2406486eeb7fbd89bf9118a6411bd5f2 (patch)
tree81418cc24ba9b30b07b93c300390031e9521ec4e /lib/snmp/test
parent1ebfcb6f1f013e62aabc9935c878a55b788967a9 (diff)
downloadotp-dfb5cf6e2406486eeb7fbd89bf9118a6411bd5f2.tar.gz
otp-dfb5cf6e2406486eeb7fbd89bf9118a6411bd5f2.tar.bz2
otp-dfb5cf6e2406486eeb7fbd89bf9118a6411bd5f2.zip
Rewrite agent for IPv4 + IPv6
Diffstat (limited to 'lib/snmp/test')
-rw-r--r--lib/snmp/test/klas3.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/snmp/test/klas3.erl b/lib/snmp/test/klas3.erl
index 4c7c03e2ca..4cbd852b2d 100644
--- a/lib/snmp/test/klas3.erl
+++ b/lib/snmp/test/klas3.erl
@@ -75,6 +75,7 @@ fname(get) ->
end,
case snmpa:current_net_if_data() of
{value, []} -> ok;
+ {value, [{request_ref, R}]} when is_reference(R) -> ok;
{value, _} -> throw("bad_nil");
_ -> throw("bad_nid")
end,