diff options
author | Thomas Graf <tgr@lsx.localdomain> | 2008-05-14 16:26:47 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@lsx.localdomain> | 2008-05-14 16:26:47 (GMT) |
commit | eed2afaab7aa72fae393a395a8879b91a922ff5e (patch) | |
tree | e28561df020521ed10854fdfa07c0e0c7e701c13 /lib/data.c | |
parent | 7179b2d85964ef8fec8eca3ad661de9f38daa0ba (diff) | |
download | libnl-eed2afaab7aa72fae393a395a8879b91a922ff5e.zip libnl-eed2afaab7aa72fae393a395a8879b91a922ff5e.tar.gz libnl-eed2afaab7aa72fae393a395a8879b91a922ff5e.tar.bz2 |
Remove obsolete nla_get_addr() and nla_get_data()
Replaces obsolete calls to nla_get_addr() and nla_get_data()
with nl_addr_alloc_attr() respectively nl_data_alloc_attr().
Also fixes missing error handling while parsing routing multipath
configuration.
Diffstat (limited to 'lib/data.c')
-rw-r--r-- | lib/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ errout: * @see nla_data_alloc * @return Newly allocated data handle or NULL */ -struct nl_data *nl_data_alloc_from_attr(struct nlattr *nla) +struct nl_data *nl_data_alloc_attr(struct nlattr *nla) { return nl_data_alloc(nla_data(nla), nla_len(nla)); } |