[ovs-dev] [ofp-print 07/15] classifier: Use OFP_DEFAULT_PRIORITY instead of literal 32768.

Justin Pettit jpettit at nicira.com
Tue Dec 14 22:12:48 UTC 2010


Looks good.

--Justin


On Dec 14, 2010, at 12:23 PM, Ben Pfaff wrote:

> ---
> lib/classifier.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/classifier.c b/lib/classifier.c
> index 86d8269..236b120 100644
> --- a/lib/classifier.c
> +++ b/lib/classifier.c
> @@ -352,7 +352,7 @@ cls_rule_format(const struct cls_rule *rule, struct ds *s)
> 
>     int i;
> 
> -    if (rule->priority != 32768) {
> +    if (rule->priority != OFP_DEFAULT_PRIORITY) {
>         ds_put_format(s, "priority=%d,", rule->priority);
>     }
> 
> -- 
> 1.7.1
> 
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev_openvswitch.org





More information about the dev mailing list