diff mbox series

[ovs-dev] netdev-vport: Fix typo in log message.

Message ID 20200521211650.3319256-1-blp@ovn.org
State New
Headers show
Series [ovs-dev] netdev-vport: Fix typo in log message. | expand

Commit Message

Ben Pfaff May 21, 2020, 9:16 p.m. UTC
Signed-off-by: Ben Pfaff <blp@ovn.org>
---
 lib/netdev-vport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Gregory Rose May 21, 2020, 9:56 p.m. UTC | #1
On 5/21/2020 2:16 PM, Ben Pfaff wrote:
> Signed-off-by: Ben Pfaff <blp@ovn.org>
> ---
>   lib/netdev-vport.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c
> index 8efd1eee8302..0252b61dea2b 100644
> --- a/lib/netdev-vport.c
> +++ b/lib/netdev-vport.c
> @@ -754,7 +754,7 @@ set_tunnel_config(struct netdev *dev_, const struct smap *args, char **errp)
>       enum tunnel_layers layers = tunnel_supported_layers(type, &tnl_cfg);
>       const char *full_type = (strcmp(type, "vxlan") ? type
>                                : (tnl_cfg.exts & (1 << OVS_VXLAN_EXT_GPE)
> -                                ? "VXLAN-GPE" : "VXLAN (without GPE"));
> +                                ? "VXLAN-GPE" : "VXLAN (without GPE)"));
>       const char *packet_type = smap_get(args, "packet_type");
>       if (!packet_type) {
>           tnl_cfg.pt_mode = default_pt_mode(layers);
> 

Acked-by: Greg Rose <gvrose8192@gmail.com>
Ben Pfaff May 21, 2020, 11:01 p.m. UTC | #2
On Thu, May 21, 2020 at 02:56:28PM -0700, Gregory Rose wrote:
> 
> On 5/21/2020 2:16 PM, Ben Pfaff wrote:
> > Signed-off-by: Ben Pfaff <blp@ovn.org>
> > ---
> >   lib/netdev-vport.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c
> > index 8efd1eee8302..0252b61dea2b 100644
> > --- a/lib/netdev-vport.c
> > +++ b/lib/netdev-vport.c
> > @@ -754,7 +754,7 @@ set_tunnel_config(struct netdev *dev_, const struct smap *args, char **errp)
> >       enum tunnel_layers layers = tunnel_supported_layers(type, &tnl_cfg);
> >       const char *full_type = (strcmp(type, "vxlan") ? type
> >                                : (tnl_cfg.exts & (1 << OVS_VXLAN_EXT_GPE)
> > -                                ? "VXLAN-GPE" : "VXLAN (without GPE"));
> > +                                ? "VXLAN-GPE" : "VXLAN (without GPE)"));
> >       const char *packet_type = smap_get(args, "packet_type");
> >       if (!packet_type) {
> >           tnl_cfg.pt_mode = default_pt_mode(layers);
> > 
> 
> Acked-by: Greg Rose <gvrose8192@gmail.com>

Thanks.  I applied this to master.
diff mbox series

Patch

diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c
index 8efd1eee8302..0252b61dea2b 100644
--- a/lib/netdev-vport.c
+++ b/lib/netdev-vport.c
@@ -754,7 +754,7 @@  set_tunnel_config(struct netdev *dev_, const struct smap *args, char **errp)
     enum tunnel_layers layers = tunnel_supported_layers(type, &tnl_cfg);
     const char *full_type = (strcmp(type, "vxlan") ? type
                              : (tnl_cfg.exts & (1 << OVS_VXLAN_EXT_GPE)
-                                ? "VXLAN-GPE" : "VXLAN (without GPE"));
+                                ? "VXLAN-GPE" : "VXLAN (without GPE)"));
     const char *packet_type = smap_get(args, "packet_type");
     if (!packet_type) {
         tnl_cfg.pt_mode = default_pt_mode(layers);