diff options
author | SUZUKI, Shinsuke <suz@kame.net> | 2006-04-11 04:33:52 +0000 |
---|---|---|
committer | SUZUKI, Shinsuke <suz@kame.net> | 2006-04-11 04:33:52 +0000 |
commit | 58227a7064c3fb83495e9275711aa94fbd13157a (patch) | |
tree | 74af27116013ec588824b2e22da49051dcf423af /cftoken.l | |
parent | abb5df61450dc03f615e97c3ea75ee5c5f4db23f (diff) |
* removed 'ifdef USE_POOL' macros, since it is always ON
* rename some pool-related variables to prepare for the support of prefix-pool
Diffstat (limited to 'cftoken.l')
-rw-r--r-- | cftoken.l | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -110,7 +110,7 @@ ecl \} %s S_AUTH %s S_KEY %s S_SECRET -%s S_POOL +%s S_ADDRPOOL %% %{ @@ -137,9 +137,13 @@ ecl \} return (HOSTNAME); } - /* pool configuration */ -<S_CNF>pool { DECHO; BEGIN S_POOL; return (POOL); } -<S_POOL>{string} { + /* address pool configuration */ +<S_CNF>address-pool { DECHO; BEGIN S_ADDRPOOL; return (ADDRPOOL); } + + /* kept for a backward compatiblity */ +<S_CNF>pool { DECHO; BEGIN S_ADDRPOOL; return (ADDRPOOL); } + +<S_ADDRPOOL>{string} { DECHO; yylval.str = strdup(yytext); BEGIN S_CNF; |