2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

netdev-vport: Don't warn when a tunnel key is set.

Reported-by: Reid Price <reid@nicira.com>
This commit is contained in:
Justin Pettit
2011-03-10 13:47:31 -08:00
parent 85dcedffa5
commit 8a86254e98

View File

@@ -706,8 +706,8 @@ parse_tunnel_config(const char *name, const char *type,
|| !strcmp(node->name, "private_key")
|| !strcmp(node->name, "use_ssl_cert"))) {
/* Ignore options not used by the netdev. */
} else if (is_gre && (!strcmp(node->name, "key") &&
!strcmp(node->name, "in_key") &&
} else if (is_gre && (!strcmp(node->name, "key") ||
!strcmp(node->name, "in_key") ||
!strcmp(node->name, "out_key"))) {
/* Handled separately below. */
} else {