summaryrefslogtreecommitdiff
path: root/lib/addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/addr.c')
-rw-r--r--lib/addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/addr.c b/lib/addr.c
index 258084e..17047c8 100644
--- a/lib/addr.c
+++ b/lib/addr.c
@@ -210,7 +210,7 @@ struct nl_addr *nl_addr_build(int family, void *buf, size_t size)
*
* @return Newly allocated address handle or NULL.
*/
-struct nl_addr *nl_addr_alloc_from_attr(struct nlattr *nla, int family)
+struct nl_addr *nl_addr_alloc_attr(struct nlattr *nla, int family)
{
return nl_addr_build(family, nla_data(nla), nla_len(nla));
}