Mercurial > hg > waaad
changeset 23:632adaea1a10
Fix in domain name check
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Mon, 16 Jun 2008 11:18:15 +0900 |
parents | b064ad1df8ba |
children | 41f0f8549ddf |
files | configure.ac waaad/conf-token.l |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Mon Jun 16 10:25:54 2008 +0900 +++ b/configure.ac Mon Jun 16 11:18:15 2008 +0900 @@ -120,6 +120,7 @@ # Checks for library functions. AC_CHECK_FUNC([getopt_long], ,[AC_MSG_ERROR([This package needs getopt_long.])]) +# AC_CHECK_FUNC([getrrsetbyname], ,[AC_MSG_ERROR([This package needs getrrsetbyname.])]) ####################### # Checks for system services
--- a/waaad/conf-token.l Mon Jun 16 10:25:54 2008 +0900 +++ b/waaad/conf-token.l Mon Jun 16 11:18:15 2008 +0900 @@ -147,7 +147,7 @@ } <IN_URI>(?i:";transport=sctp") { return PEER_TRANS_SCTP; } <IN_URI>(?i:";transport=tcp") { return PEER_TRANS_TCP; } -<IN_URI>[[:alnum:].]+ { +<IN_URI>[[:alnum:].-]+ { /* Any string that did not match one of the previous IN_URI rules is treated as a locator */ yylval->string = strdup(yytext); if (!yylval->string) {