diff options
author | Pavel Tvrdík <pawel.tvrdik@gmail.com> | 2016-01-28 16:55:27 +0100 |
---|---|---|
committer | Pavel Tvrdík <pawel.tvrdik@gmail.com> | 2016-01-28 17:16:53 +0100 |
commit | 9f5782d9691f23296c4b1a68ef66630d9cc3a6cd (patch) | |
tree | 647e16c0cc4e6e5f93c5c5fb38309625110290ad | |
parent | 966ca6143b8648a29e77b6328133bc3f245d50ee (diff) |
Add 'GENERATE/ACCEPT FROM datetime TO datetime' to password options
-rw-r--r-- | nest/config.Y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/config.Y b/nest/config.Y index d6aa9653..769822f3 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -409,8 +409,10 @@ password_item_params: /* empty */ { } | GENERATE FROM datetime ';' password_item_params { this_p_item->genfrom = $3; } | GENERATE TO datetime ';' password_item_params { this_p_item->gento = $3; } + | GENERATE FROM datetime TO datetime ';' password_item_params { this_p_item->genfrom = $3; this_p_item->gento = $5; } | ACCEPT FROM datetime ';' password_item_params { this_p_item->accfrom = $3; } | ACCEPT TO datetime ';' password_item_params { this_p_item->accto = $3; } + | ACCEPT FROM datetime TO datetime ';' password_item_params { this_p_item->accfrom = $3; this_p_item->accto = $5; } | ID expr ';' password_item_params { this_p_item->id = $2; if ($2 <= 0) cf_error("Password ID has to be greated than zero."); } ; |