From 7096bc3a96fcccfa1d98ea60c5d2e993c5412f0d Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Wed, 20 Apr 2022 14:59:27 +0200 Subject: [PATCH] Fix socket option parsing --- src/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.c b/src/options.c index 8955515..f5a5f5d 100644 --- a/src/options.c +++ b/src/options.c @@ -188,7 +188,7 @@ void options_parse(int argc, char *argv[]) int option_index = 0; /* Parse argument using getopt_long */ - c = getopt_long(argc, argv, "b:d:f:s:p:o:net::Ll:S::m:c:vh", long_options, &option_index); + c = getopt_long(argc, argv, "b:d:f:s:p:o:net::Ll::S:m:c:vh", long_options, &option_index); /* Detect the end of the options */ if (c == -1)