git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
00a250d
)
ofproto: Fix typo in comment.
author
Ben Pfaff
<blp@nicira.com>
Mon, 15 Nov 2010 20:56:12 +0000
(12:56 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 30 Nov 2010 00:29:11 +0000
(16:29 -0800)
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index
6499c9f
..
c2c48e1
100644
(file)
--- 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
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)) {
new_ofport->opp.config |= old_ofport->opp.config & ~OFPPC_PORT_DOWN;
if (ofport_equal(old_ofport, new_ofport)) {