projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofproto: Clear out entire 'name' field of ofp_phy_port when initializing.
[openvswitch]
/
ofproto
/
ofproto.c
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index 82008be10f4ed50c050669b2734b9455215c998c..e0f1b6632509bddd14e1c267b148ef7e98da7c02 100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-1567,7
+1567,7
@@
make_ofport(const struct dpif_port *dpif_port)
return NULL;
}
- ofport = x
m
alloc(sizeof *ofport);
+ ofport = x
z
alloc(sizeof *ofport);
ofport->netdev = netdev;
ofport->odp_port = dpif_port->port_no;
ofport->opp.port_no = odp_port_to_ofp_port(dpif_port->port_no);