projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb8cacd
)
ovs-cfg-mod: Accept -v option before any targets are specified.
author
Ben Pfaff
<blp@nicira.com>
Fri, 15 May 2009 19:59:35 +0000
(12:59 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 15 May 2009 19:59:35 +0000
(12:59 -0700)
Setting the log levels should be allowed before specifying targets, but it
wasn't. This fixes it.
This fixes a failure to bring up network interfaces at boot (and at any
other time too).
utilities/ovs-cfg-mod.c
patch
|
blob
|
history
diff --git
a/utilities/ovs-cfg-mod.c
b/utilities/ovs-cfg-mod.c
index b09a7ced0bad8a4febfeac0961acdb929d6b5619..03ee3708d2fb75f92e61aecb4ce195c0d018fa27 100644
(file)
--- a/
utilities/ovs-cfg-mod.c
+++ b/
utilities/ovs-cfg-mod.c
@@
-155,7
+155,7
@@
int main(int argc, char *argv[])
break;
}
- if ((option > UCHAR_MAX || !strchr("Fh?", option))
+ if ((option > UCHAR_MAX || !strchr("Fh
v
?", option))
&& config_set == false) {
ovs_fatal(0, "no config file specified (use --help for help)");
}