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>
This commit is contained in:
parent
9e02a0b65b
commit
5a9d0caa11
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue