git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
secchan: Fix cut-and-paste errors in port speed determination.
[sliver-openvswitch.git]
/
secchan
/
stp-secchan.c
diff --git
a/secchan/stp-secchan.c
b/secchan/stp-secchan.c
index
379bca2
..
97ad02b
100644
(file)
--- a/
secchan/stp-secchan.c
+++ b/
secchan/stp-secchan.c
@@
-270,7
+270,7
@@
stp_port_changed_cb(uint16_t port_no,
speed = 100;
} else if (new->curr & (OFPPF_1GB_HD | OFPPF_1GB_FD)) {
speed = 1000;
- } else if (new->curr & OFPPF_10
0M
B_FD) {
+ } else if (new->curr & OFPPF_10
G
B_FD) {
speed = 10000;
}
stp_port_set_speed(p, speed);