3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

resolve: Don't try to set routing domains

The intent was to treat all domains as search domains, not routing
domains.

Fixes: 930528e35e ("resolve: Add systemd-resolved domain name installer")
This commit is contained in:
Denis Kenzior 2019-12-16 16:15:35 -06:00
parent 7e393663e7
commit 295e42f87a

View File

@ -200,7 +200,6 @@ static void resolve_systemd_add_domain_name(uint32_t ifindex,
{
struct systemd_state *state = data;
struct l_dbus_message *message;
bool routing_domain;
l_debug("ifindex: %u", ifindex);
@ -221,10 +220,8 @@ static void resolve_systemd_add_domain_name(uint32_t ifindex,
if (!message)
return;
routing_domain = true;
l_dbus_message_set_arguments(message, "ia(sb)", ifindex,
1, domain_name, routing_domain);
1, domain_name, false);
l_dbus_send_with_reply(dbus_get_bus(), message,
systemd_link_add_domains_reply, state, NULL);