diff options
-rw-r--r-- | asn1/ldap/packet-ldap-template.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-ldap.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-ldap.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/asn1/ldap/packet-ldap-template.c b/asn1/ldap/packet-ldap-template.c index 6b2a894807..b3944797d9 100644 --- a/asn1/ldap/packet-ldap-template.c +++ b/asn1/ldap/packet-ldap-template.c @@ -264,7 +264,7 @@ dissect_ldap_AssertionValue(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset offset=get_ber_length(NULL, tvb, offset, &len, &ind); if(len==0){ - return; + return offset; } /* check whether the string is ascii or binary */ diff --git a/epan/dissectors/packet-ldap.c b/epan/dissectors/packet-ldap.c index bace143fc3..a58be73e38 100644 --- a/epan/dissectors/packet-ldap.c +++ b/epan/dissectors/packet-ldap.c @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ -/* ./packet-ldap.c */ +/* .\packet-ldap.c */ /* ../../tools/asn2wrs.py -b -e -p ldap -c ldap.cnf -s packet-ldap-template Lightweight-Directory-Access-Protocol-V3.asn */ /* Input file: packet-ldap-template.c */ @@ -416,7 +416,7 @@ dissect_ldap_AssertionValue(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset offset=get_ber_length(NULL, tvb, offset, &len, &ind); if(len==0){ - return; + return offset; } /* check whether the string is ascii or binary */ diff --git a/epan/dissectors/packet-ldap.h b/epan/dissectors/packet-ldap.h index 93cdd7638d..da424bbacd 100644 --- a/epan/dissectors/packet-ldap.h +++ b/epan/dissectors/packet-ldap.h @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ -/* ./packet-ldap.h */ +/* .\packet-ldap.h */ /* ../../tools/asn2wrs.py -b -e -p ldap -c ldap.cnf -s packet-ldap-template Lightweight-Directory-Access-Protocol-V3.asn */ /* Input file: packet-ldap-template.h */ |