X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto.c;h=c2c48e12bccbb55df556fef8a7d65ba86330dc3b;hb=9ea5d2d58ba8783271d096d417082a8372b87c5d;hp=6499c9fd4e1b4aaee567674b51d68ae998aed3e6;hpb=4617e2c141500f8b06d1e9b1478b286756a3e391;p=openvswitch 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)) {