[ovs-dev] [tests+nxm-ofctl 10/42] ofproto: Fix typo in comment.

Justin Pettit jpettit at nicira.com
Thu Nov 25 01:44:45 UTC 2010


Looks good.

--Justin


On Nov 23, 2010, at 2:43 PM, Ben Pfaff wrote:

> ---
> ofproto/ofproto.c |    6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
> index c2b38b2..1d6b222 100644
> --- a/ofproto/ofproto.c
> +++ b/ofproto/ofproto.c
> @@ -1618,9 +1618,9 @@ update_port(struct ofproto *p, const char *devname)
>         return;
>     } else if (old_ofport && new_ofport) {
>         /* Most of the 'config' bits are OpenFlow soft state, but
> -         * OFPPC_PORT_DOWN is maintained the kernel.  So transfer the OpenFlow
> -         * bits from old_ofport.  (make_ofport() only sets OFPPC_PORT_DOWN and
> -         * leaves the other bits 0.)  */
> +         * OFPPC_PORT_DOWN is maintained by the kernel.  So transfer the
> +         * OpenFlow bits from old_ofport.  (make_ofport() only sets
> +         * OFPPC_PORT_DOWN and leaves the other bits 0.)  */
>         new_ofport->opp.config |= old_ofport->opp.config & ~OFPPC_PORT_DOWN;
> 
>         if (ofport_equal(old_ofport, new_ofport)) {
> -- 
> 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