eiwd

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

commit 7db8cf92fe0ee81441168515bb2caf75c5ed274f
parent 8d0860ef86a0bc1e3b8ce35e944ad29e03b1c1e3
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Fri, 25 Oct 2019 11:21:04 -0500

manager: Switch to CamelCase for mac_randomize

Diffstat:
Msrc/manager.c | 15+++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/src/manager.c b/src/manager.c @@ -630,10 +630,17 @@ static int manager_init(void) goto error; } - randomize_str = - l_settings_get_value(config, "General", "mac_randomize"); - if (randomize_str && !strcmp(randomize_str, "once")) - randomize = true; + randomize_str = l_settings_get_value(config, "General", + "AddressRandomization"); + if (randomize_str) { + if (!strcmp(randomize_str, "once")) + randomize = true; + else if (!strcmp(randomize_str, "disabled")) + randomize = false; + else + l_warn("Invalid [General].AddressRandomization" + " value: %s", randomize_str); + } if (!l_settings_get_bool(config, "General", "UseDefaultInterface", &use_default)) {