git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netdev-vport: Fix ToS/TTL mixup in unparsing.
[sliver-openvswitch.git]
/
lib
/
netdev-vport.c
diff --git
a/lib/netdev-vport.c
b/lib/netdev-vport.c
index
db5c3db
..
d5c288f
100644
(file)
--- 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) {
}
if (flags & TNL_F_TTL_INHERIT) {
- smap_add(args, "t
os
", "inherit");
+ smap_add(args, "t
tl
", "inherit");
} else if (a[OVS_TUNNEL_ATTR_TTL]) {
int ttl = nl_attr_get_u8(a[OVS_TUNNEL_ATTR_TTL]);
} else if (a[OVS_TUNNEL_ATTR_TTL]) {
int ttl = nl_attr_get_u8(a[OVS_TUNNEL_ATTR_TTL]);
- smap_add_format(args, "t
os
", "%d", ttl);
+ smap_add_format(args, "t
tl
", "%d", ttl);
}
if (flags & TNL_F_TOS_INHERIT) {
}
if (flags & TNL_F_TOS_INHERIT) {