diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2013-02-18 00:38:40 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2013-02-18 00:38:40 +0000 |
commit | 7e46ff5f4cb541537722f87bb20a57bc41493d54 (patch) | |
tree | 2d41c4103e843a9edf9fec231639b59bec42e445 /contrib/openbsm | |
parent | b2e054b0d42fa25514eae30706af00a5b4ab87ec (diff) | |
download | src-test-7e46ff5f4cb541537722f87bb20a57bc41493d54.tar.gz src-test-7e46ff5f4cb541537722f87bb20a57bc41493d54.zip |
Allow [] in remote address, which fixes IPv6 support.
Reported by: simon
Notes
Notes:
svn path=/head/; revision=246925
Diffstat (limited to 'contrib/openbsm')
-rw-r--r-- | contrib/openbsm/bin/auditdistd/token.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/openbsm/bin/auditdistd/token.l b/contrib/openbsm/bin/auditdistd/token.l index 9cebac1e22d9a..5e58e8728836b 100644 --- a/contrib/openbsm/bin/auditdistd/token.l +++ b/contrib/openbsm/bin/auditdistd/token.l @@ -74,7 +74,7 @@ sender { DP; return SENDER; } source { DP; return SOURCE; } timeout { DP; return TIMEOUT; } [0-9]+ { DP; yylval.num = atoi(yytext); return NUM; } -\"[a-zA-Z0-9_/ !@#\$%\^\&\*\(\)\+\=\|\;\?\,\.\-\:]*\" { DP; yylval.str = strndup(yytext + 1, strlen(yytext) - 2); return STR; } +\"[a-zA-Z0-9_/ !@#\$%\^\&\*\(\)\+\=\|\;\?\,\.\[\]\-\:]*\" { DP; yylval.str = strndup(yytext + 1, strlen(yytext) - 2); return STR; } \{ { DP; depth++; return OB; } \} { DP; depth--; return CB; } #.*$ /* ignore comments */; |