i want to know why this module can't be compiled ?

IPv4Header DEFINITIONS AUTOMATIC TAGS ::=
BEGIN

        IPHeader ::= SEQUENCE
        {
                version         BIT STRING SIZE(4),

The above should be

                version         BIT STRING (SIZE(4)),


                ipheaderlength  INTEGER(5..15),
                typeofservice   OCTET STRING,
                totallength     INTEGER(0..65535),
                identification  INTEGER(0..65535),
                flags           Flags,
                fragmentoffset  INTEGER(0..8191),
                timetolive      INTEGER(0..255),
                protocoll       INTEGER(0..255),
                headerchecksum  INTEGER(0..65535),
                sourceadress    IPadress,
                destinadress    IPadress,
                options         INTEGER(0..2147483647)
        }

        Flags ::= BIT STRING {flag1(0) DEFAULT 0, flag2(1), flag3(2)}

DEFAULT 0 is not allowed here.

        IPadress ::= SEQUENCE
        {
                field1  INTEGER(0..255),
                flied2  IA5String DEFAULT ".",
                field3  INTEGER(0..255),
                field4  IA5String DEFAULT ".",
                field5  INTEGER(0..255),
                field6  IA5String DEFAULT ".",
                field7  INTEGER(0..255)
        }
END

=====================================================================
Conrad Sigona                    Voice Mail     : 1-732-302-9669 x400
OSS Nokalva                      Fax            : 1-614-388-4156
[EMAIL PROTECTED]                   My direct line : 1-315-845-1773
_______________________________________________
Asn1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to