[ovs-dev] [threads 09/17] netdev-vport: Make 'iface' non-static in tunnel_get_status().

Ben Pfaff blp at nicira.com
Wed Jun 5 20:05:14 UTC 2013


I don't see any reason for this to be static.

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 lib/netdev-vport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c
index 6eee8a7..3558f43 100644
--- 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;
-- 
1.7.2.5




More information about the dev mailing list