eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit ab14515715046397a481a63546189e62de9f9ee3
parent 0e49561bb74f78e896239c864b27fb975d948ddc
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Tue, 17 Dec 2019 16:48:21 -0600

resolve: Fix invalid method name check

The intent was to check for the presence of the add_domain_name
operation, not add_dns operation.

Fixes: 930528e35e30 ("resolve: Add systemd-resolved domain name installer")

Diffstat:
Msrc/resolve.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/resolve.c b/src/resolve.c @@ -432,7 +432,7 @@ void resolve_add_domain_name(uint32_t ifindex, const char *domain_name) if (!domain_name) return; - if (!method.ops || !method.ops->add_dns) + if (!method.ops || !method.ops->add_domain_name) return; method.ops->add_domain_name(ifindex, domain_name, method.data);