diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-24 03:01:10 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-26 22:17:52 +0200 |
commit | b3102c05e160f918882ae1cee782869958fd454b (patch) | |
tree | bcbe78c642fd0137b8331a1de295847607733b0c | |
parent | po: Translated using Weblate (Slovenian) (diff) | |
download | systemd-b3102c05e160f918882ae1cee782869958fd454b.tar.xz systemd-b3102c05e160f918882ae1cee782869958fd454b.zip |
resolvectl: make enum name consistent with the option name
-rw-r--r-- | src/resolve/resolvectl.c | 6 |
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; |