summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2011-04-11 12:40:40 +0200
committerThomas Graf <tgraf@suug.ch>2011-04-11 12:40:40 +0200
commitb5918b5ce3c48271abe4c021431f2b978af28f73 (patch)
treecc5d5ebe5f97f08fae495e45d49a881366575e42
parent48d543cfdf49aef75b9898ebea379f2303d3935d (diff)
downloadlibnl-b5918b5ce3c48271abe4c021431f2b978af28f73.tar.gz
fix line removed by mistake
This line was removed by mistake in the last commit
-rw-r--r--lib/route/link.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/route/link.c b/lib/route/link.c
index 38b9d82..5e42ffd 100644
--- a/lib/route/link.c
+++ b/lib/route/link.c
@@ -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,