aboutsummaryrefslogtreecommitdiff
path: root/lib/rtnetlink-link.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2013-04-23 16:04:57 -0700
committerBen Pfaff <blp@nicira.com>2013-06-11 13:35:01 -0700
commit098d85b3e3b5a7c4e8b872bf3f9ff05058b84c68 (patch)
treea02c9ea8a6c99720555a78aae2ac1cf2ed29122a /lib/rtnetlink-link.c
parentbcd2633a5be6d9b1dc4a42425f48d72423890573 (diff)
rtnetlink-link: Make 'attrs' local variable non-static.
I don't see any reason for this variable to be static. CC: Ethan Jackson <ethan@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/rtnetlink-link.c')
-rw-r--r--lib/rtnetlink-link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rtnetlink-link.c b/lib/rtnetlink-link.c
index 0b3710fb..459e4855 100644
--- a/lib/rtnetlink-link.c
+++ b/lib/rtnetlink-link.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2010 Nicira, Inc.
+ * Copyright (c) 2009, 2010, 2013 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,7 +49,7 @@ rtnetlink_link_parse(struct ofpbuf *buf,
[IFLA_ADDRESS] = { .type = NL_A_UNSPEC, .optional = true },
};
- static struct nlattr *attrs[ARRAY_SIZE(policy)];
+ struct nlattr *attrs[ARRAY_SIZE(policy)];
parsed = nl_policy_parse(buf, NLMSG_HDRLEN + sizeof(struct ifinfomsg),
policy, attrs, ARRAY_SIZE(policy));