From 039088e58b9637d35452d1d7791d7950281e5eef Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 14 May 2020 19:19:32 +0200 Subject: WIP debug err_hook --- sysdep/unix/wg_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdep/unix/wg_user.c b/sysdep/unix/wg_user.c index 36580e9a..0fa011cf 100644 --- a/sysdep/unix/wg_user.c +++ b/sysdep/unix/wg_user.c @@ -92,7 +92,7 @@ void user_err_hook(struct birdsock *bs, int err) log(L_TRACE "WG: ERR %p %d %s", bs, err, bs->err); if (err == 0) - abort(); + bug("Debug err_hook"); rfree(bs); } -- cgit v1.2.3