void-packages/srcpkgs/iwd/patches/resolvconf-default.patch

32 lines
1.1 KiB
Diff

--- src/resolve.c
+++ src/resolve.c
@@ -604,7 +604,7 @@ static int resolve_init(void)
l_warn("[General].dns_resolve_method is deprecated, "
"use [Network].NameResolvingService");
else /* Default to systemd-resolved service. */
- method_name = "systemd";
+ method_name = "resolvconf";
}
for (i = 0; resolve_method_ops_list[i].name; i++) {
--- src/iwd.config.rst
+++ src/iwd.config.rst
@@ -194,7 +194,7 @@ The group ``[Network]`` contains network configuration related settings.
by default. This setting can also be overriden on a per-network basis.
* - NameResolvingService
- - Values: resolvconf, **systemd**
+ - Values: **resolvconf**, systemd
Configures a DNS resolution method used by the system.
@@ -202,7 +202,7 @@ The group ``[Network]`` contains network configuration related settings.
``EnableNetworkConfiguration`` and provides the choice of system
resolver integration.
- If not specified, ``systemd`` is used as default.
+ If not specified, ``resolvconf`` is used as default.
* - RoutePriorityOffset
- Values: uint32 value (default: **300**)