From 2f0cfe41b1e2d203c582941ad03a051b76eda541 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Sat, 28 Oct 2017 01:45:50 -0500 Subject: [PATCH] changed --tun-dev to required argument --- misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc.cpp b/misc.cpp index 0a1a6b2..e098ece 100644 --- a/misc.cpp +++ b/misc.cpp @@ -566,7 +566,7 @@ void process_arg(int argc, char *argv[]) {"jitter", required_argument, 0,'j'}, {"fifo", required_argument, 0, 1}, {"sub-net", required_argument, 0, 1}, - {"tun-dev", optional_argument, 0, 1}, + {"tun-dev", required_argument, 0, 1}, {NULL, 0, 0, 0} }; int option_index = 0;