eiwd

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

commit 7f2aa40bba6c0e65660b6658aebe2634f03d45c1
parent 72d35fc4910a45f0c3e162e605cf9014234485c8
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Mon, 24 Oct 2022 11:03:08 -0500

ap: Fix spurious warning message

The warning message would be printed even if no setting was present

Fixes: ac976c6f7147 ("ap: Remove support for deprecated APRanges setting")

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

diff --git a/src/ap.c b/src/ap.c @@ -4146,7 +4146,7 @@ static int ap_init(void) global_addr4_strs = l_settings_get_string_list(settings, "IPv4", "APAddressPool", ','); - if (!global_addr4_strs || !global_addr4_strs[0]) { + if (global_addr4_strs && !global_addr4_strs[0]) { l_error("Can't parse the [IPv4].APAddressPool " "setting as a string list"); l_strv_free(global_addr4_strs);