From edd3f4d9b7a63dc9a142ef20119e80d1d9527f2f Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 7 Oct 2024 13:40:55 +0900 Subject: core: drop implicit support of PrivateUsers=off Follow-up for fa693fdc7e17618958c505af4b2f39ecd1c3363e. The documentation says the option takes a boolean or one of the "self" and "identity". But the parser uses private_users_from_string() which also accepts "off". Let's drop the implicit support of "off". --- src/core/namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/namespace.c') diff --git a/src/core/namespace.c b/src/core/namespace.c index b7fe4ffbcc..6909fb4a06 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -3229,7 +3229,7 @@ static const char* const private_tmp_table[_PRIVATE_TMP_MAX] = { DEFINE_STRING_TABLE_LOOKUP_WITH_BOOLEAN(private_tmp, PrivateTmp, PRIVATE_TMP_CONNECTED); static const char* const private_users_table[_PRIVATE_USERS_MAX] = { - [PRIVATE_USERS_OFF] = "off", + [PRIVATE_USERS_NO] = "no", [PRIVATE_USERS_SELF] = "self", [PRIVATE_USERS_IDENTITY] = "identity", }; -- cgit v1.2.3