diff --git a/src/resolve/resolved-conf.c b/src/resolve/resolved-conf.c index 8803326c29..e9fd148469 100644 --- a/src/resolve/resolved-conf.c +++ b/src/resolve/resolved-conf.c @@ -222,8 +222,8 @@ int config_parse_search_domains( int config_parse_dnssd_service_name(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata) { static const Specifier specifier_table[] = { { 'b', specifier_boot_id, NULL }, - { 'H', specifier_host_name, NULL }, - { 'm', specifier_machine_id, NULL }, + { 'H', specifier_host_name, NULL }, + { 'm', specifier_machine_id, NULL }, { 'v', specifier_kernel_release, NULL }, {} }; diff --git a/src/resolve/resolved-dnssd.c b/src/resolve/resolved-dnssd.c index 02e012f4ec..08b23072d6 100644 --- a/src/resolve/resolved-dnssd.c +++ b/src/resolve/resolved-dnssd.c @@ -166,7 +166,7 @@ int dnssd_render_instance_name(DnssdService *s, char **ret_name) { static const Specifier specifier_table[] = { { 'b', specifier_boot_id, NULL }, { 'H', specifier_dnssd_host_name, NULL }, - { 'm', specifier_machine_id, NULL }, + { 'm', specifier_machine_id, NULL }, { 'v', specifier_kernel_release, NULL }, {} };