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

Russell Bryant rbryant at redhat.com
Tue Aug 25 19:23:49 UTC 2015


On 08/24/2015 09:12 PM, Justin Pettit wrote:
> 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,
> 

Acked-by: Russell Bryant <rbryant at redhat.com>

-- 
Russell Bryant



More information about the dev mailing list