]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
fix line removed by mistake
authorThomas Graf <tgraf@suug.ch>
Mon, 11 Apr 2011 10:40:40 +0000 (12:40 +0200)
committerThomas Graf <tgraf@suug.ch>
Mon, 11 Apr 2011 10:40:40 +0000 (12:40 +0200)
This line was removed by mistake in the last commit

lib/route/link.c

index 38b9d82f53c636d0cce03208a364fc243ae410f2..5e42ffdbba01675ca7ce61d9bf0ff18afe579516 100644 (file)
@@ -655,6 +655,7 @@ static int link_request_update(struct nl_cache *cache, struct nl_sock *sk)
 static void link_dump_line(struct nl_object *obj, struct nl_dump_params *p)
 {
        char buf[128];
+       struct nl_cache *cache = dp_cache(obj);
        struct rtnl_link *link = (struct rtnl_link *) obj;
 
        nl_dump_line(p, "%s %s ", link->l_name,