netdev-vport: Make 'iface' non-static in tunnel_get_status().
authorBen Pfaff <blp@nicira.com>
Mon, 15 Apr 2013 22:33:43 +0000 (15:33 -0700)
committerBen 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

index 6eee8a7..3558f43 100644 (file)
@@ -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;