projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae9ed65
)
vswitchd: Start adding ports at index 1, since index 0 is reserved.
author
Ben Pfaff
<blp@nicira.com>
Thu, 5 Mar 2009 21:07:31 +0000
(13:07 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 5 Mar 2009 21:09:49 +0000
(13:09 -0800)
Otherwise we get a spurious error message (although we do go on to try the
next port, so the message isn't a big deal).
vswitchd/bridge.c
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index aa70ad21013ec99d368ed6813f7521e7ca3b2ca4..69cd7b4f4eefd5b454627504280962203fb6d6e0 100644
(file)
--- a/
vswitchd/bridge.c
+++ b/
vswitchd/bridge.c
@@
-388,7
+388,7
@@
bridge_reconfigure(void)
bridge_get_all_ifaces(br, &want_ifaces);
svec_diff(&want_ifaces, &cur_ifaces, &add_ifaces, NULL, NULL);
- next_port_no =
0
;
+ next_port_no =
1
;
for (i = 0; i < add_ifaces.n; i++) {
const char *if_name = add_ifaces.names[i];
if_up(if_name);