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:
parent
7e393663e7
commit
295e42f87a
@ -200,7 +200,6 @@ static void resolve_systemd_add_domain_name(uint32_t ifindex,
|
|||||||
{
|
{
|
||||||
struct systemd_state *state = data;
|
struct systemd_state *state = data;
|
||||||
struct l_dbus_message *message;
|
struct l_dbus_message *message;
|
||||||
bool routing_domain;
|
|
||||||
|
|
||||||
l_debug("ifindex: %u", ifindex);
|
l_debug("ifindex: %u", ifindex);
|
||||||
|
|
||||||
@ -221,10 +220,8 @@ static void resolve_systemd_add_domain_name(uint32_t ifindex,
|
|||||||
if (!message)
|
if (!message)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
routing_domain = true;
|
|
||||||
|
|
||||||
l_dbus_message_set_arguments(message, "ia(sb)", ifindex,
|
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,
|
l_dbus_send_with_reply(dbus_get_bus(), message,
|
||||||
systemd_link_add_domains_reply, state, NULL);
|
systemd_link_add_domains_reply, state, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user