git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a19b84f
)
netdev-vport: Make 'iface' non-static in tunnel_get_status().
author
Ben Pfaff
<blp@nicira.com>
Mon, 15 Apr 2013 22:33:43 +0000
(15:33 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 5 Jun 2013 21:58:05 +0000
(14:58 -0700)
I don't see any reason for this to be static.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/netdev-vport.c
patch
|
blob
|
history
diff --git
a/lib/netdev-vport.c
b/lib/netdev-vport.c
index
6eee8a7
..
3558f43
100644
(file)
--- a/
lib/netdev-vport.c
+++ b/
lib/netdev-vport.c
@@
-196,7
+196,7
@@
netdev_vport_get_etheraddr(const struct netdev *netdev,
static int
tunnel_get_status(const struct netdev *netdev, struct smap *smap)
{
-
static
char iface[IFNAMSIZ];
+ char iface[IFNAMSIZ];
ovs_be32 route;
route = netdev_vport_cast(netdev)->tnl_cfg.ip_dst;