aports/community/accel-ppp/0003-tsearch.patch
2021-08-28 11:23:38 +00:00

12 lines
350 B
Diff

--- a/accel-pppd/ctrl/l2tp/l2tp.c
+++ b/accel-pppd/ctrl/l2tp/l2tp.c
@@ -852,7 +852,7 @@
void *sessions = conn->sessions;
conn->sessions = NULL;
- tdestroy(sessions, (__free_fn_t)l2tp_session_free);
+ tdestroy(sessions, l2tp_session_free);
/* Let l2tp_session_free() handle the session counter and
* the reference held by the tunnel.
*/