From 074a07e40ed7b2ffa9df47eabdbaf320df2bc3ab Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Sat, 13 May 2017 09:42:49 -0700 Subject: [PATCH] genconfig: Fix missing MTU required argument This must have beeen broken for a long time. Test case added to prevent it from breaking again. Closes #259 --- bin/ovpn_genconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ovpn_genconfig b/bin/ovpn_genconfig index f9671d3..8cae0f1 100755 --- a/bin/ovpn_genconfig +++ b/bin/ovpn_genconfig @@ -174,7 +174,7 @@ OVPN_DISABLE_PUSH_BLOCK_DNS=0 [ -r "$OVPN_ENV" ] && source "$OVPN_ENV" # Parse arguments -while getopts ":a:e:E:C:T:r:s:du:bcp:n:k:DNmf:tz2" opt; do +while getopts ":a:e:E:C:T:r:s:du:bcp:n:k:DNm:f:tz2" opt; do case $opt in a) OVPN_AUTH="$OPTARG"