diff options
-rw-r--r-- | lib/route/link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/route/link.c b/lib/route/link.c index 868a89a..55f6bbd 100644 --- a/lib/route/link.c +++ b/lib/route/link.c @@ -193,7 +193,7 @@ static struct rtnl_link_af_ops *af_lookup_and_alloc(struct rtnl_link *link, if (!af_ops) return NULL; - if (!(data = rtnl_link_af_data(link, af_ops))) + if (!(data = rtnl_link_af_alloc(link, af_ops))) return NULL; return af_ops; |