dect
/
libnl
Archived
13
0
Fork 0

attr: Fix typo in nla_is_nested()

Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
Thomas Graf 2013-04-28 10:33:52 +02:00
parent 37f788f391
commit 3a6d256da5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/** @} */