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
ofp-util: Make make_flow_mod() take cls_rule instead of struct flow.
[sliver-openvswitch.git]
/
lib
/
netdev-vport.c
diff --git
a/lib/netdev-vport.c
b/lib/netdev-vport.c
index
5ab0586
..
197e74b
100644
(file)
--- a/
lib/netdev-vport.c
+++ b/
lib/netdev-vport.c
@@
-110,7
+110,7
@@
netdev_vport_parse_config(const struct netdev_class *netdev_class,
info.devname = name;
info.type = netdev_class->type;
error = (c->parse_config)(&info, args);
info.devname = name;
info.type = netdev_class->type;
error = (c->parse_config)(&info, args);
- *configp = info.config;
+ *configp =
error ? NULL :
info.config;
return error;
} else {
if (!shash_is_empty(args)) {
return error;
} else {
if (!shash_is_empty(args)) {
@@
-124,8
+124,7
@@
netdev_vport_parse_config(const struct netdev_class *netdev_class,
static int
netdev_vport_create(const struct netdev_class *class, const char *name,
static int
netdev_vport_create(const struct netdev_class *class, const char *name,
- const struct shash *args OVS_UNUSED,
- struct netdev_dev **netdev_devp)
+ const struct shash *args, struct netdev_dev **netdev_devp)
{
int err;
struct odp_vport_add ova;
{
int err;
struct odp_vport_add ova;