[ovs-dev] [PATCH 1/7] ovn: Fix example in comment in expr.c.

Justin Pettit jpettit at nicira.com
Tue Aug 25 01:12:32 UTC 2015


Signed-off-by: Justin Pettit <jpettit at nicira.com>
---
 ovn/lib/expr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ovn/lib/expr.c b/ovn/lib/expr.c
index 510a15e..beb451e 100644
--- a/ovn/lib/expr.c
+++ b/ovn/lib/expr.c
@@ -1206,7 +1206,7 @@ expr_parse_level(const char *s, const struct shash *symtab, char **errorp)
 }
 
 /* Adds a predicate symbol, whose value is the given Boolean 'expression',
- * named 'name' to 'symtab'.  For example, "ip4 && ip4.proto == 1" might be an
+ * named 'name' to 'symtab'.  For example, "ip4 && ip4.proto == 6" might be an
  * appropriate predicate named "tcp4". */
 struct expr_symbol *
 expr_symtab_add_predicate(struct shash *symtab, const char *name,
-- 
1.7.5.4




More information about the dev mailing list