[ovs-dev] [PATCH] ovs-ofctl: Incorrectly displays 0 in_port as 65534.

Ethan Jackson ethan at nicira.com
Tue Feb 8 22:10:34 UTC 2011


Please ignore this patch.  It's the wrong solution to the problem and
I'm ditching it.

Ethan

On Tue, Feb 8, 2011 at 1:56 PM, Ethan Jackson <ethan at nicira.com> wrote:
> ---
>  lib/classifier.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/lib/classifier.c b/lib/classifier.c
> index fcc965c..7a2bf39 100644
> --- a/lib/classifier.c
> +++ b/lib/classifier.c
> @@ -506,8 +506,7 @@ cls_rule_format(const struct cls_rule *rule, struct ds *s)
>         break;
>     }
>     if (!(w & FWW_IN_PORT)) {
> -        ds_put_format(s, "in_port=%"PRIu16",",
> -                      odp_port_to_ofp_port(f->in_port));
> +        ds_put_format(s, "in_port=%"PRIu16",", f->in_port);
>     }
>     if (wc->vlan_tci_mask) {
>         ovs_be16 vid_mask = wc->vlan_tci_mask & htons(VLAN_VID_MASK);
> --
> 1.7.4
>
>




More information about the dev mailing list