diff options
Diffstat (limited to 'nest/config.Y')
-rw-r--r-- | nest/config.Y | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nest/config.Y b/nest/config.Y index 8bd89de0..45d18679 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -504,8 +504,8 @@ password_items: ; password_item: - password_item_begin '{' password_item_params '}' - | password_item_begin + password_item_begin '{' password_item_params '}' password_item_end + | password_item_begin password_item_end ; password_item_begin: @@ -542,6 +542,11 @@ password_algorithm: | BLAKE2B512 { $$ = ALG_BLAKE2B_512; } ; +password_item_end: +{ + password_validate_length(this_p_item); +}; + /* BFD options */ |