[PATCH 1/2] Add "-m" to getopt_long() parser

Antonio Borneo borneo.antonio at gmail.com
Sun Mar 24 09:00:54 EDT 2013


Code exists to handle command line flag "-m" / "--mtu",
but "-m" flag doesn't work.

Signed-off-by: Antonio Borneo <borneo.antonio at gmail.com>
---
 main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/main.c b/main.c
index 7abc533..b114b3d 100644
--- a/main.c
+++ b/main.c
@@ -353,7 +353,7 @@ static int next_option(int argc, char **argv, char **config_arg)
  next:
 	if (!config_file) {
 		opt = getopt_long(argc, argv,
-				  "bC:c:e:Ddg:hi:k:lp:P:Q:qSs:U:u:Vvx:",
+				  "bC:c:e:Ddg:hi:k:lm:p:P:Q:qSs:U:u:Vvx:",
 				  long_options, NULL);
 
 		*config_arg = optarg;
-- 
1.7.3.4




More information about the openconnect-devel mailing list