eiwd

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

commit 6a477061c76a4bb798f731ba94d115a14ab8cc9a
parent 0971eb4d0cf78d4a3c36c3ddb66ba8ada60aa38e
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Mon, 25 Oct 2021 10:39:00 -0500

unit: Consistently use network-byte-order

Commit ed10b00afa3f ("unit: Fix eapol IP Allocation test failure")
did not convert all instances of IP allocation settings to network byte
order.

Fixes: 5c9de0cf23f9 ("eapol: Store IP address in network byte order")

Diffstat:
Munit/test-eapol.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/unit/test-eapol.c b/unit/test-eapol.c @@ -3870,9 +3870,9 @@ static void eapol_ap_sta_handshake_ip_alloc_no_req_test(const void *data) handshake_state_set_ssid(s.ap_hs, (void *) ssid, strlen(ssid)); handshake_state_set_pmk(s.ap_hs, psk, 32); s.ap_hs->support_ip_allocation = true; - s.ap_hs->client_ip_addr = 0x01020304; - s.ap_hs->subnet_mask = 0xffff0000; - s.ap_hs->go_ip_addr = 0x01020305; + s.ap_hs->client_ip_addr = L_CPU_TO_BE32(0x01020304); + s.ap_hs->subnet_mask = L_CPU_TO_BE32(0xffff0000); + s.ap_hs->go_ip_addr = L_CPU_TO_BE32(0x01020305); handshake_state_set_authenticator(s.sta_hs, false); handshake_state_set_event_func(s.sta_hs, test_ap_sta_hs_event, &s);