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:
f9bb81e
)
vswitchd: Report actual port number, not -1, in "added interface" message.
author
Ben Pfaff
<blp@nicira.com>
Tue, 24 Apr 2012 17:44:54 +0000
(10:44 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 24 Apr 2012 18:07:04 +0000
(11:07 -0700)
CC: Ethan Jackson <ethan@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
vswitchd/bridge.c
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index
c4fc3a9
..
19f42e4
100644
(file)
--- a/
vswitchd/bridge.c
+++ b/
vswitchd/bridge.c
@@
-1295,7
+1295,7
@@
iface_create(struct bridge *br, struct if_cfg *if_cfg, int ofp_port)
error = ofproto_port_add(br->ofproto, iface->netdev, &new_ofp_port);
if (!error) {
VLOG_INFO("bridge %s: added interface %s (%d)", br->name,
- iface->name, ofp_port);
+ iface->name,
new_
ofp_port);
iface_set_ofp_port(iface, new_ofp_port);
} else {
netdev_close(iface->netdev);