summaryrefslogtreecommitdiffstats
path: root/lib/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/attr.c')
-rw-r--r--lib/attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/attr.c b/lib/attr.c
index 14552c6..6fc6af5 100644
--- a/lib/attr.c
+++ b/lib/attr.c
@@ -899,7 +899,7 @@ int nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla,
*/
int nla_is_nested(struct nlattr *attr)
{
- return !!(nla->nla_type & NLA_F_NESTED);
+ return !!(attr->nla_type & NLA_F_NESTED);
}
/** @} */