eiwd

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

commit b97d3f2a82878cedae69c99193ae2884e2fd995c
parent 10db2d60d651f5f30a166a226860185d9f235356
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Wed,  3 Apr 2019 11:46:04 -0500

eapol: Use l_container_of

Diffstat:
Msrc/eapol.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/eapol.c b/src/eapol.c @@ -729,7 +729,7 @@ struct eapol_frame_watch { static void eapol_frame_watch_free(struct watchlist_item *item) { struct eapol_frame_watch *efw = - container_of(item, struct eapol_frame_watch, super); + l_container_of(item, struct eapol_frame_watch, super); l_free(efw); } @@ -2475,7 +2475,7 @@ void eapol_preauth_cancel(uint32_t ifindex) static bool eapol_frame_watch_match_ifindex(const void *a, const void *b) { struct eapol_frame_watch *efw = - container_of(a, struct eapol_frame_watch, super); + l_container_of(a, struct eapol_frame_watch, super); return efw->ifindex == L_PTR_TO_UINT(b); }