From 1a483f554850694db946385f547334d54ead88b0 Mon Sep 17 00:00:00 2001 From: Micael Karlberg Date: Fri, 18 Jul 2014 13:58:44 +0200 Subject: [snmp/compiler] Refinement of type Opaque was not allowed MIB constructs such as "SYNTAX Opaque (SIZE(0..65535))" was previously not allowed, this has now been fixed. See the standard ALARM-MIB for eaxmple. --- lib/snmp/doc/src/notes.xml | 65 +++++++++++++++++++++++++++++++++++++- lib/snmp/src/app/snmp.appup.src | 12 ++++++- lib/snmp/src/compile/snmpc_lib.erl | 1 + lib/snmp/vsn.mk | 4 +-- 4 files changed, 78 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/snmp/doc/src/notes.xml b/lib/snmp/doc/src/notes.xml index 7514c52dda..ed16e6a4b2 100644 --- a/lib/snmp/doc/src/notes.xml +++ b/lib/snmp/doc/src/notes.xml @@ -4,7 +4,7 @@
- 19962013 + 19962014 Ericsson AB. All Rights Reserved. @@ -33,6 +33,69 @@
+
+ SNMP Development Toolkit 4.24.3 +

Version 4.24.3 supports code replacement in runtime from/to + version 4.24.2, 4.24.1, 4.24, 4.23.1 and 4.23.

+ +
+ Improvements and new features + + + + +

[compiler] Refinement of type Opaque was not allowed.

+

MIB constructs such as 'SYNTAX Opaque (SIZE(0..65535))' + was previously not allowed, + see the standard ALARM-MIB for eaxmple.

+

Own Id: OTP-12066

+

Aux Id: Seq 12669

+
+ +
+ +
+ +
+ Fixed Bugs and Malfunctions +

-

+ + + +
+ +
+ Incompatibilities +

-

+ + +
+ +
+ +
SNMP Development Toolkit 4.24.2

Version 4.24.2 supports code replacement in runtime from/to diff --git a/lib/snmp/src/app/snmp.appup.src b/lib/snmp/src/app/snmp.appup.src index 6edcf7e833..9d25b49ccb 100644 --- a/lib/snmp/src/app/snmp.appup.src +++ b/lib/snmp/src/app/snmp.appup.src @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1999-2013. All Rights Reserved. +%% Copyright Ericsson AB 1999-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 @@ -29,6 +29,11 @@ %% {add_module, snmpm_net_if_mt} [ + {"4.24.2", + [ + %% Only changes in the compiler + ] + }, {"4.24.1", [ {load_module, snmpa, soft_purge, soft_purge, [snmpa_agent]}, @@ -57,6 +62,11 @@ %% {remove, {snmpm_net_if_mt, soft_purge, soft_purge}} [ + {"4.24.2", + [ + %% Only changes in the compiler + ] + }, {"4.24.1", [ {load_module, snmpa, soft_purge, soft_purge, [snmpa_agent]}, diff --git a/lib/snmp/src/compile/snmpc_lib.erl b/lib/snmp/src/compile/snmpc_lib.erl index 5a661cf194..0f6393eeef 100644 --- a/lib/snmp/src/compile/snmpc_lib.erl +++ b/lib/snmp/src/compile/snmpc_lib.erl @@ -139,6 +139,7 @@ allow_size_rfc1902('Integer32') -> true; allow_size_rfc1902('Unsigned32') -> true; allow_size_rfc1902('OCTET STRING') -> true; allow_size_rfc1902('Gauge32') -> true; +allow_size_rfc1902('Opaque') -> true; allow_size_rfc1902(_) -> false. guess_integer_type() -> diff --git a/lib/snmp/vsn.mk b/lib/snmp/vsn.mk index 2164121e86..feecba55a8 100644 --- a/lib/snmp/vsn.mk +++ b/lib/snmp/vsn.mk @@ -2,7 +2,7 @@ # %CopyrightBegin% # -# Copyright Ericsson AB 1997-2013. All Rights Reserved. +# Copyright Ericsson AB 1997-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 @@ -18,6 +18,6 @@ # %CopyrightEnd% APPLICATION = snmp -SNMP_VSN = 4.24.2 +SNMP_VSN = 4.24.3 PRE_VSN = APP_VSN = "$(APPLICATION)-$(SNMP_VSN)$(PRE_VSN)" -- cgit v1.2.3 From 6934c60bfaee278faf28e33b72ce6d99baef94ac Mon Sep 17 00:00:00 2001 From: Micael Karlberg Date: Mon, 21 Jul 2014 15:56:05 +0200 Subject: [snmp/compiler] Assign "proper" (= carbonara) version --- lib/snmp/doc/src/notes.xml | 4 ++-- lib/snmp/vsn.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/snmp/doc/src/notes.xml b/lib/snmp/doc/src/notes.xml index ed16e6a4b2..6e94ecbb37 100644 --- a/lib/snmp/doc/src/notes.xml +++ b/lib/snmp/doc/src/notes.xml @@ -34,8 +34,8 @@

- SNMP Development Toolkit 4.24.3 -

Version 4.24.3 supports code replacement in runtime from/to + SNMP Development Toolkit 4.24.2.1 +

Version 4.24.2.1 supports code replacement in runtime from/to version 4.24.2, 4.24.1, 4.24, 4.23.1 and 4.23.

diff --git a/lib/snmp/vsn.mk b/lib/snmp/vsn.mk index feecba55a8..e5127da394 100644 --- a/lib/snmp/vsn.mk +++ b/lib/snmp/vsn.mk @@ -18,6 +18,6 @@ # %CopyrightEnd% APPLICATION = snmp -SNMP_VSN = 4.24.3 +SNMP_VSN = 4.24.2.1 PRE_VSN = APP_VSN = "$(APPLICATION)-$(SNMP_VSN)$(PRE_VSN)" -- cgit v1.2.3