PERFORCE change 222155 for review
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Feb 18 00:41:22 UTC 2013
http://p4web.freebsd.org/@@222155?ac=10
Change 222155 by pjd at 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 */;
More information about the p4-projects
mailing list