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

Ben Pfaff blp at nicira.com
Wed Jun 5 22:05:44 UTC 2013


Applied, thanks.

On Wed, Jun 05, 2013 at 02:11:08PM -0700, Ethan Jackson wrote:
> Acked-by: Ethan Jackson <ethan at nicira.com>
> 
> On Wed, Jun 5, 2013 at 1:05 PM, Ben Pfaff <blp at nicira.com> wrote:
> > 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
> >
> > _______________________________________________
> > dev mailing list
> > dev at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list