[ovs-dev] [PATCH] netdev-vport: Don't warn when a tunnel key is set.
Justin Pettit
jpettit at nicira.com
Thu Mar 10 21:50:04 UTC 2011
Reported-by: Reid Price <reid at nicira.com>
---
lib/netdev-vport.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c
index c6d4db8..97cc170 100644
--- a/lib/netdev-vport.c
+++ b/lib/netdev-vport.c
@@ -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 {
--
1.7.1
More information about the dev
mailing list