aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/compile/snmpc_lib.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2013-02-05 15:12:52 +0100
committerMicael Karlberg <[email protected]>2013-02-05 15:12:52 +0100
commitd4c5e795b916485362e5aee780ffe99fee150c89 (patch)
tree9c02dfdf06b5a4dc55a7dcb4cd9d8f56d418b40a /lib/snmp/src/compile/snmpc_lib.erl
parent1cbd897c43f0dab1275392a3736e4629c1f80243 (diff)
parentc4425da5b7cf880b8ca76158e0bfecbf5202a333 (diff)
downloadotp-d4c5e795b916485362e5aee780ffe99fee150c89.tar.gz
otp-d4c5e795b916485362e5aee780ffe99fee150c89.tar.bz2
otp-d4c5e795b916485362e5aee780ffe99fee150c89.zip
Merge branch 'bmk/snmp/compiler/handling_import_of_BITS_in_mibs/r15/OTP-10799' into bmk/snmp/snmp4222_integration/r15
Diffstat (limited to 'lib/snmp/src/compile/snmpc_lib.erl')
-rw-r--r--lib/snmp/src/compile/snmpc_lib.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/snmp/src/compile/snmpc_lib.erl b/lib/snmp/src/compile/snmpc_lib.erl
index c7eae307e8..3652054298 100644
--- a/lib/snmp/src/compile/snmpc_lib.erl
+++ b/lib/snmp/src/compile/snmpc_lib.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1997-2012. All Rights Reserved.
+%% Copyright Ericsson AB 1997-2013. 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
@@ -240,7 +240,10 @@ import_mib({{'SNMPv2-SMI', ImportsFromMib},Line}) ->
aliasname = 'Opaque'},
#asn1_type{bertype = 'Counter64',
aliasname = 'Counter64',
- lo = 0, hi = 18446744073709551615}],
+ lo = 0, hi = 18446744073709551615},
+ #asn1_type{bertype = 'BITS',
+ aliasname = 'BITS'}
+ ],
Macros = ['MODULE-IDENTITY','OBJECT-IDENTITY','OBJECT-TYPE',
'NOTIFICATION-TYPE'],
import_built_in_loop(ImportsFromMib,Nodes,Types,Macros,'SNMPv2-SMI',Line);