diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2018-04-04 19:51:53 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2018-04-04 17:52:47 +0000 |
commit | 5a9d0caa1113e8723d66c1d8f4eec4273590fec4 (patch) | |
tree | fe0afdac012f19ef284915b119acd87b6ac644ed /tools | |
parent | 9e02a0b65b87349814ab6aa9a1df9d6a930d0a3c (diff) |
extract_asn1_from_spec.pl: fix parsing of END tag
Change-Id: I2eb73f74b456ffb5a9bae50e78f7edb4204912e0
Reviewed-on: https://code.wireshark.org/review/26740
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/extract_asn1_from_spec.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/extract_asn1_from_spec.pl b/tools/extract_asn1_from_spec.pl index 5a166365df..8c69b55f6c 100755 --- a/tools/extract_asn1_from_spec.pl +++ b/tools/extract_asn1_from_spec.pl @@ -73,7 +73,7 @@ sub extract_asn1 { $file_name_found = 1; } - if (($line =~ /END/) && (defined fileno OUTPUT_FILE)){ + if (($line =~ /^END/) && (defined fileno OUTPUT_FILE)){ syswrite OUTPUT_FILE,"$line"; close(OUTPUT_FILE); $is_asn1 = 0; |