diff options
author | Björn Gustavsson <[email protected]> | 2014-04-24 16:43:32 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-05-06 11:40:09 +0200 |
commit | 54fdff3af5d023133b55cc4c068c218fd0caf63f (patch) | |
tree | 14d4ec4d2acae7f8206f07a59a88d0d5d7bb7287 /lib/snmp/subdirs.mk | |
parent | 8eadd0297d9676a9004673f9efa2574283942f9f (diff) | |
download | otp-54fdff3af5d023133b55cc4c068c218fd0caf63f.tar.gz otp-54fdff3af5d023133b55cc4c068c218fd0caf63f.tar.bz2 otp-54fdff3af5d023133b55cc4c068c218fd0caf63f.zip |
Set.py: Correct illegal DEFAULT value
If SetIn is defined like this:
SetIn ::= SET {
boolIn BOOLEAN,
intIn INTEGER
}
then it may not be used with an empty DEFAULT value like this:
SetDef1 ::= SET {
set1 SetIn DEFAULT {}
}
The ASN.1 compiler prints an warning message, but still generates
code. (That should be fixed.)
Fix the incorrect ASN.1 specification by making the
components in SetIn optional:
SetIn ::= SET
{
boolIn BOOLEAN OPTIONAL,
intIn INTEGER OPTIONAL
}
Diffstat (limited to 'lib/snmp/subdirs.mk')
0 files changed, 0 insertions, 0 deletions