summaryrefslogtreecommitdiff
path: root/utilities/ovs-openflowd.c
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2010-01-22 14:37:10 -0500
committerJesse Gross <jesse@nicira.com>2010-01-27 20:03:38 -0500
commit1a6f1e2a6d6aea97f97fc378ec29f7d04ad8c047 (patch)
tree998e1674cd4140140327c187b98375f27a7dd472 /utilities/ovs-openflowd.c
parente328faadc42cb835b1adf1ef4d77a42c76b52f3f (diff)
downloadopenvswitch-1a6f1e2a6d6aea97f97fc378ec29f7d04ad8c047.tar.gz
dpif: Update dpif interface to match netdev.
This brings over some features that were added to the netdev interface, most notably the separation between the name and the type. In addition to being cleaner, this also avoids problems where it is expected that the local port has the same name as the datapath.
Diffstat (limited to 'utilities/ovs-openflowd.c')
-rw-r--r--utilities/ovs-openflowd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities/ovs-openflowd.c b/utilities/ovs-openflowd.c
index e0cfdc957..5e63f1b24 100644
--- a/utilities/ovs-openflowd.c
+++ b/utilities/ovs-openflowd.c
@@ -137,7 +137,7 @@ main(int argc, char *argv[])
const char *port;
size_t i;
- error = dpif_create_and_open(s.dp_name, &dpif);
+ error = dpif_create_and_open(s.dp_name, NULL, &dpif);
if (error) {
ovs_fatal(error, "could not create datapath");
}
@@ -152,7 +152,7 @@ main(int argc, char *argv[])
}
/* Start OpenFlow processing. */
- error = ofproto_create(s.dp_name, NULL, NULL, &ofproto);
+ error = ofproto_create(s.dp_name, NULL, NULL, NULL, &ofproto);
if (error) {
ovs_fatal(error, "could not initialize openflow switch");
}