mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-16 09:03:05 -05:00
Fix RADIUS client to cancel IPv6 socket read notifications
This commit is contained in:
parent
f481459f5e
commit
2988796257
@ -1297,6 +1297,12 @@ void radius_client_deinit(struct radius_client_data *radius)
|
||||
eloop_unregister_read_sock(radius->auth_serv_sock);
|
||||
if (radius->acct_serv_sock >= 0)
|
||||
eloop_unregister_read_sock(radius->acct_serv_sock);
|
||||
#ifdef CONFIG_IPV6
|
||||
if (radius->auth_serv_sock6 >= 0)
|
||||
eloop_unregister_read_sock(radius->auth_serv_sock6);
|
||||
if (radius->acct_serv_sock6 >= 0)
|
||||
eloop_unregister_read_sock(radius->acct_serv_sock6);
|
||||
#endif /* CONFIG_IPV6 */
|
||||
|
||||
eloop_cancel_timeout(radius_retry_primary_timer, radius, NULL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user