From b3102c05e160f918882ae1cee782869958fd454b Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 24 Aug 2024 10:01:10 +0900 Subject: resolvectl: make enum name consistent with the option name --- src/resolve/resolvectl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c index 1b9fab3de3..8d32b6784a 100644 --- a/src/resolve/resolvectl.c +++ b/src/resolve/resolvectl.c @@ -3520,7 +3520,7 @@ static int compat_parse_argv(int argc, char *argv[]) { ARG_SET_DOMAIN, ARG_SET_LLMNR, ARG_SET_MDNS, - ARG_SET_PRIVATE, + ARG_SET_DNS_OVER_TLS, ARG_SET_DNSSEC, ARG_SET_NTA, ARG_REVERT_LINK, @@ -3552,7 +3552,7 @@ static int compat_parse_argv(int argc, char *argv[]) { { "set-domain", required_argument, NULL, ARG_SET_DOMAIN }, { "set-llmnr", required_argument, NULL, ARG_SET_LLMNR }, { "set-mdns", required_argument, NULL, ARG_SET_MDNS }, - { "set-dnsovertls", required_argument, NULL, ARG_SET_PRIVATE }, + { "set-dnsovertls", required_argument, NULL, ARG_SET_DNS_OVER_TLS }, { "set-dnssec", required_argument, NULL, ARG_SET_DNSSEC }, { "set-nta", required_argument, NULL, ARG_SET_NTA }, { "revert", no_argument, NULL, ARG_REVERT_LINK }, @@ -3760,7 +3760,7 @@ static int compat_parse_argv(int argc, char *argv[]) { arg_mode = MODE_SET_LINK; break; - case ARG_SET_PRIVATE: + case ARG_SET_DNS_OVER_TLS: arg_set_dns_over_tls = optarg; arg_mode = MODE_SET_LINK; break; -- cgit v1.2.3