From 1626118f265eb7bdaeaa23a1d5c9228503eaaf02 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Thu, 14 Jan 2010 18:06:33 -0800 Subject: [PATCH] ovs-vsctl: Don't mask timeout argument ovs-vsctl supports the "--timeout" option, which specifies the amount of time that the operation is allowed to take before a SIGALRM is raised. The code that parsed options had a local "timeout" that masked the global one that was supposed to be set. --- utilities/ovs-vsctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c index 725988a5..ab3005c2 100644 --- a/utilities/ovs-vsctl.c +++ b/utilities/ovs-vsctl.c @@ -171,7 +171,6 @@ parse_options(int argc, char *argv[]) for (;;) { - unsigned long int timeout; int c; c = getopt_long(argc, argv, "+v::hVt:", long_options, NULL); -- 2.30.2