diff options
Diffstat (limited to 'src/attr.c')
-rw-r--r-- | src/attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ void *mnl_attr_get_payload(const struct nlattr *attr) * The len parameter may be negative in the case of malformed messages during * attribute iteration, that is why we use a signed integer. */ -int mnl_attr_ok(const struct nlattr *attr, int len) +bool mnl_attr_ok(const struct nlattr *attr, int len) { return len >= (int)sizeof(struct nlattr) && attr->nla_len >= sizeof(struct nlattr) && |