Date: Mon, 18 Feb 2013 00:41:21 GMT From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 222155 for review Message-ID: <201302180041.r1I0fLKr071952@skunkworks.freebsd.org>
index | next in thread | raw e-mail
http://p4web.freebsd.org/@@222155?ac=10 Change 222155 by pjd@pjd_anger on 2013/02/18 00:40:33 Allow [] in remote address, which fixes IPv6 support. Reported by: simon Affected files ... .. //depot/projects/trustedbsd/openbsm/bin/auditdistd/token.l#3 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/bin/auditdistd/token.l#3 (text+ko) ==== @@ -27,7 +27,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/token.l#2 $ + * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/token.l#3 $ */ #include <config/config.h> @@ -74,7 +74,7 @@ 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 */;help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302180041.r1I0fLKr071952>
