From: Ben Pfaff Date: Mon, 15 Nov 2010 20:56:12 +0000 (-0800) Subject: ofproto: Fix typo in comment. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc4a55cd19281f65718230ae14a25c3f1077b8ec;p=openvswitch ofproto: Fix typo in comment. --- diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 6499c9fd..c2c48e12 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -1621,9 +1621,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)) {