projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bridge: Forbid '/' in bridge names to prevent arbitrary directory access.
[openvswitch]
/
vswitchd
/
ovs-vswitchd.c
diff --git
a/vswitchd/ovs-vswitchd.c
b/vswitchd/ovs-vswitchd.c
index b2b208214f9793cf38d64d84371b5cce5897abfb..359e3ab1a5ce75683815796eb6bacd9a603e7209 100644
(file)
--- a/
vswitchd/ovs-vswitchd.c
+++ b/
vswitchd/ovs-vswitchd.c
@@
-34,6
+34,7
@@
#include "dummy.h"
#include "leak-checker.h"
#include "netdev.h"
#include "dummy.h"
#include "leak-checker.h"
#include "netdev.h"
+#include "openflow/openflow.h"
#include "ovsdb-idl.h"
#include "poll-loop.h"
#include "process.h"
#include "ovsdb-idl.h"
#include "poll-loop.h"
#include "process.h"
@@
-80,7
+81,7
@@
main(int argc, char *argv[])
if (retval) {
exit(EXIT_FAILURE);
}
if (retval) {
exit(EXIT_FAILURE);
}
- unixctl_command_register("exit", ovs_vswitchd_exit, &exiting);
+ unixctl_command_register("exit",
"",
ovs_vswitchd_exit, &exiting);
bridge_init(remote);
free(remote);
bridge_init(remote);
free(remote);
@@
-146,7
+147,6
@@
parse_options(int argc, char *argv[])
}
switch (c) {
}
switch (c) {
- case 'H':
case 'h':
usage();
case 'h':
usage();