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]
/
datapath
/
vport-netdev.c
diff --git
a/datapath/vport-netdev.c
b/datapath/vport-netdev.c
index 363651bd9ae305e215bdcecaa0c0cbba092fb473..e45e22fbb870e87fa0d974c413515673aefaaa9f 100644
(file)
--- a/
datapath/vport-netdev.c
+++ b/
datapath/vport-netdev.c
@@
-286,7
+286,7
@@
struct vport *netdev_get_vport(struct net_device *dev)
}
const struct vport_ops netdev_vport_ops = {
- .type =
"netdev"
,
+ .type =
ODP_VPORT_TYPE_NETDEV
,
.flags = (VPORT_F_REQUIRED |
(USE_VPORT_STATS ? VPORT_F_GEN_STATS : 0)),
.init = netdev_init,