From 509e79607dc2fc245052d05d8a8853522644dec3 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 15 May 2009 12:59:35 -0700 Subject: [PATCH] ovs-cfg-mod: Accept -v option before any targets are specified. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/ovs-cfg-mod.c b/utilities/ovs-cfg-mod.c index b09a7ced..03ee3708 100644 --- 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("Fhv?", option)) && config_set == false) { ovs_fatal(0, "no config file specified (use --help for help)"); } -- 2.30.2