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
netdev: New function netdev_get_dpif_port().
[sliver-openvswitch.git]
/
lib
/
netdev-vport.c
diff --git
a/lib/netdev-vport.c
b/lib/netdev-vport.c
index
94f1110
..
95cffd2
100644
(file)
--- a/
lib/netdev-vport.c
+++ b/
lib/netdev-vport.c
@@
-151,6
+151,12
@@
netdev_vport_is_patch(const struct netdev *netdev)
return class->get_config == get_patch_config;
}
+const char *
+netdev_vport_get_dpif_port(const struct netdev *netdev)
+{
+ return netdev_get_name(netdev);
+}
+
static uint32_t
get_u32_or_zero(const struct nlattr *a)
{