summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-08-24 03:01:10 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-08-26 22:17:52 +0200
commitb3102c05e160f918882ae1cee782869958fd454b (patch)
treebcbe78c642fd0137b8331a1de295847607733b0c
parentpo: Translated using Weblate (Slovenian) (diff)
downloadsystemd-b3102c05e160f918882ae1cee782869958fd454b.tar.xz
systemd-b3102c05e160f918882ae1cee782869958fd454b.zip
resolvectl: make enum name consistent with the option name
-rw-r--r--src/resolve/resolvectl.c6
1 files changed, 3 insertions, 3 deletions
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;