projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovsdb-doc: Implement new <option>, <ol> tags.
[openvswitch]
/
lib
/
netdev-tunnel.c
diff --git
a/lib/netdev-tunnel.c
b/lib/netdev-tunnel.c
index d0ecd98e204e7e603f6f392f570a282aebcf0292..fdc1d976a4fc493bd673dafcdc6c6bade0bc8751 100644
(file)
--- a/
lib/netdev-tunnel.c
+++ b/
lib/netdev-tunnel.c
@@
-66,6
+66,7
@@
parse_config(const char *name, const char *type, const struct shash *args,
memset(config, 0, sizeof *config);
config->flags |= TNL_F_PMTUD;
memset(config, 0, sizeof *config);
config->flags |= TNL_F_PMTUD;
+ config->flags |= TNL_F_HDR_CACHE;
SHASH_FOR_EACH (node, args) {
if (!strcmp(node->name, "remote_ip")) {
SHASH_FOR_EACH (node, args) {
if (!strcmp(node->name, "remote_ip")) {
@@
-121,6
+122,10
@@
parse_config(const char *name, const char *type, const struct shash *args,
if (!strcmp(node->data, "false")) {
config->flags &= ~TNL_F_PMTUD;
}
if (!strcmp(node->data, "false")) {
config->flags &= ~TNL_F_PMTUD;
}
+ } else if (!strcmp(node->name, "header_cache")) {
+ if (!strcmp(node->data, "false")) {
+ config->flags &= ~TNL_F_HDR_CACHE;
+ }
} else {
VLOG_WARN("%s: unknown %s argument '%s'", name, type, node->name);
}
} else {
VLOG_WARN("%s: unknown %s argument '%s'", name, type, node->name);
}