Skip to content

Commit 09ac3c1

Browse files
committed
add rekeyLimit to multi-arg keyword list
1 parent 1924dd0 commit 09ac3c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

resources/sshdconfig/src/metadata.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// keywords that can have multiple argments per line but cannot be repeated over multiple lines,
55
// as subsequent entries are ignored, should be represented as arrays
6-
pub const MULTI_ARG_KEYWORDS: [&str; 16] = [
6+
pub const MULTI_ARG_KEYWORDS: [&str; 17] = [
77
"authenticationmethods",
88
"authorizedkeysfile",
99
"casignaturealgorithms",
@@ -19,7 +19,8 @@ pub const MULTI_ARG_KEYWORDS: [&str; 16] = [
1919
"permituserenvironment",
2020
"persourcepenalties",
2121
"persourcepenaltyexemptlist",
22-
"pubkeyacceptedalgorithms"
22+
"pubkeyacceptedalgorithms",
23+
"rekeylimit" // first arg is bytes, second arg (optional) is amount of time
2324
];
2425

2526
// keywords that can be repeated over multiple lines and should be represented as arrays.

0 commit comments

Comments
 (0)