aboutsummaryrefslogtreecommitdiffstats
path: root/common.c
diff options
context:
space:
mode:
authorThomas Gschwantner <tharre3@gmail.com>2019-05-25 22:53:56 +0200
committerThomas Gschwantner <tharre3@gmail.com>2019-06-02 00:39:36 +0200
commit88d07b52fb6027ac6abecca863d06080a4c7b90f (patch)
tree3b0cfdc00c65f129768905ff43e3687ec4e08785 /common.c
parentradix-trie: allow both ipv4 and ipv6 debug output (diff)
downloadwg-dynamic-88d07b52fb6027ac6abecca863d06080a4c7b90f.tar.xz
wg-dynamic-88d07b52fb6027ac6abecca863d06080a4c7b90f.zip
Add BUG() and BUG_ON()
Diffstat (limited to 'common.c')
-rw-r--r--common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.c b/common.c
index a86641f..a3ce7ae 100644
--- a/common.c
+++ b/common.c
@@ -89,7 +89,7 @@ static struct wg_dynamic_attr *parse_value(enum wg_dynamic_key key, char *value)
break;
default:
debug("Invalid key %d, aborting\n", key);
- abort();
+ BUG();
}
attr = malloc(sizeof(struct wg_dynamic_attr) + len);