diff options
author | Thomas Graf <tgraf@suug.ch> | 2013-04-28 08:33:52 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2013-04-28 08:33:52 (GMT) |
commit | 3a6d256da598d2fd9dc20137f208b88295374b67 (patch) | |
tree | 58779b6f3ad0224c228777d873aaf0c89d756765 /lib/attr.c | |
parent | 37f788f3918cd03e6b1099078e8aef24e07d5462 (diff) | |
download | libnl-3a6d256da598d2fd9dc20137f208b88295374b67.zip libnl-3a6d256da598d2fd9dc20137f208b88295374b67.tar.gz libnl-3a6d256da598d2fd9dc20137f208b88295374b67.tar.bz2 |
attr: Fix typo in nla_is_nested()
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'lib/attr.c')
-rw-r--r-- | lib/attr.c | 2 |
1 files changed, 1 insertions, 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); } /** @} */ |