projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netdev-dpdk: Do not add vhost-user ports with '/' or '\' in name.
[cascardo/ovs.git]
/
lib
/
ofp-version-opt.c
diff --git
a/lib/ofp-version-opt.c
b/lib/ofp-version-opt.c
index
46fb45a
..
1cf57e1
100644
(file)
--- a/
lib/ofp-version-opt.c
+++ b/
lib/ofp-version-opt.c
@@
-26,6
+26,13
@@
mask_allowed_ofp_versions(uint32_t bitmap)
allowed_versions &= bitmap;
}
+void
+add_allowed_ofp_versions(uint32_t bitmap)
+{
+ assert_single_threaded();
+ allowed_versions |= bitmap;
+}
+
void
ofp_version_usage(void)
{