X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnetdev-vport.c;h=d5c288ff62331461e296ffc6348047816b9dea35;hb=62827e6abef5844d61f2f57d9a643c0ffb092210;hp=db5c3db8d71cf77da9dd05e284ab2dd18bbe2222;hpb=b4e8d17057ff29183c026a7bbfc751520e1629f5;p=sliver-openvswitch.git diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c index db5c3db8d..d5c288ff6 100644 --- a/lib/netdev-vport.c +++ b/lib/netdev-vport.c @@ -814,10 +814,10 @@ unparse_tunnel_config(const char *name OVS_UNUSED, const char *type OVS_UNUSED, } if (flags & TNL_F_TTL_INHERIT) { - smap_add(args, "tos", "inherit"); + smap_add(args, "ttl", "inherit"); } else if (a[OVS_TUNNEL_ATTR_TTL]) { int ttl = nl_attr_get_u8(a[OVS_TUNNEL_ATTR_TTL]); - smap_add_format(args, "tos", "%d", ttl); + smap_add_format(args, "ttl", "%d", ttl); } if (flags & TNL_F_TOS_INHERIT) {