Branch: Tag:

2013-07-01

2013-07-01 13:13:17 by Martin Jonsson <marty@roxen.com>

SNMP: Fixed error in GetRequest variable bindings.

The variable value should be ASN1 "Null" rather than a bogus integer.
C.f. RFC 1905 section #3.

370:    vararr += ({Standards.ASN1.Types.asn1_sequence(    ({Standards.ASN1.Types.asn1_identifier(    @(array(int))(varname/".")), -  Standards.ASN1.Types.asn1_integer(1)}) //doesn't sense but req +  Standards.ASN1.Types.Null()})    )});       pdu = Protocols.LDAP.ldap_privates.asn1_context_sequence(0,
524:    vararr += ({Standards.ASN1.Types.asn1_sequence(    ({Standards.ASN1.Types.asn1_identifier(    @(array(int))(varname/".")), -  Standards.ASN1.Types.asn1_integer(1)}) //doesn't sense but req +  Standards.ASN1.Types.Null()})    )});       pdu = Protocols.LDAP.ldap_privates.asn1_context_sequence(1,