summaryrefslogtreecommitdiffstats
path: root/src/netlink.c
diff options
context:
space:
mode:
authorroot <root@debian.localnet>2012-12-08 18:08:44 +0100
committerPatrick McHardy <kaber@trash.net>2012-12-08 18:11:20 +0100
commit47ff571046570e8f70f545de162e09c2ff147f80 (patch)
tree177823218da0ae77ce0514d60ee77e845c74eade /src/netlink.c
parent84792b4813a4ebf59e546acfac80144775e0d47e (diff)
debug: include verbose message in all BUG statements
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/netlink.c')
-rw-r--r--src/netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netlink.c b/src/netlink.c
index 764d9fad..912dfd5b 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -246,7 +246,7 @@ struct nfnl_nft_data *netlink_gen_data(const struct expr *expr)
case EXPR_VERDICT:
return netlink_gen_verdict(expr);
default:
- BUG();
+ BUG("invalid data expression type %s\n", expr->ops->name);
}
}