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
This commit is contained in:
Kyle Manna 2017-05-13 09:42:49 -07:00
parent 8c9d88b316
commit 074a07e40e

View File

@ -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"