]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - conf/cf-lex.l
Conf: Bytestrings with hex: should use the same general format as ones without.
[thirdparty/bird.git] / conf / cf-lex.l
index 0fa4628a4ff90e08235f2561958ad6844ba3125f..2f95f2e137b2296c01e22b7805d2996ea65c0165 100644 (file)
@@ -242,7 +242,7 @@ WHITE [ \t]
   return IP4;
 }
 
-({XIGIT}{2}){16,}|{XIGIT}{2}(:{XIGIT}{2}){15,}|hex:({XIGIT}{2}(:?{XIGIT}{2})*)? {
+({XIGIT}{2}){16,}|{XIGIT}{2}(:{XIGIT}{2}){15,}|hex:({XIGIT}{2}*|{XIGIT}{2}(:{XIGIT}{2})*) {
   char *s = yytext;
   struct adata *bs;