aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap-scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'text2pcap-scanner.l')
-rw-r--r--text2pcap-scanner.l3
1 files changed, 1 insertions, 2 deletions
diff --git a/text2pcap-scanner.l b/text2pcap-scanner.l
index f1ef1241fb..3a69a83ba1 100644
--- a/text2pcap-scanner.l
+++ b/text2pcap-scanner.l
@@ -68,10 +68,9 @@ DIAG_OFF_FLEX
%}
-hexdigit [0-9A-Fa-f]
directive ^#TEXT2PCAP.*\r?\n
comment ^[\t ]*#.*\r?\n
-byte [0-9A-Fa-f][0-9A-Fa-f][ \t]
+byte [0-9A-Fa-f][0-9A-Fa-f][ \t]?
byte_eol [0-9A-Fa-f][0-9A-Fa-f]\r?\n
offset [0-9A-Fa-f]+[: \t]
offset_eol [0-9A-Fa-f]+\r?\n