diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-05-14 19:18:30 +0200 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-05-14 19:18:30 +0200 |
commit | f8e40d613eb817dc4e32da2f8c0a7f00938cb4fc (patch) | |
tree | f2958ad0bb0425f4f18dcfc9eb60567d66b0f1d9 | |
parent | 3bc3f3786f481f449437a012d68be962e10c78b6 (diff) |
WIP abort error
-rw-r--r-- | sysdep/unix/wg_user.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/wg_user.c b/sysdep/unix/wg_user.c index 4f0dba24..36580e9a 100644 --- a/sysdep/unix/wg_user.c +++ b/sysdep/unix/wg_user.c @@ -91,6 +91,8 @@ void user_err_hook(struct birdsock *bs, int err) /* return; */ log(L_TRACE "WG: ERR %p %d %s", bs, err, bs->err); + if (err == 0) + abort(); rfree(bs); } |