attr: Fix typo in nla_is_nested()
Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
parent
37f788f391
commit
3a6d256da5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
|
Loading…
Add table
Reference in a new issue