summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-05-14 19:19:32 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2020-05-14 19:19:32 +0200
commit039088e58b9637d35452d1d7791d7950281e5eef (patch)
treea3a8c2bb6e69c2fdded35a5fb87e4e44b2fc3f98
parentf8e40d613eb817dc4e32da2f8c0a7f00938cb4fc (diff)
WIP debug err_hook
-rw-r--r--sysdep/unix/wg_user.c2
1 files changed, 1 insertions, 1 deletions
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);
}