From: Alan T. DeKok Date: Fri, 13 May 2011 08:38:53 +0000 (+0200) Subject: Add support for -P X-Git-Tag: release_3_0_0_beta0~834 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcdb5c82a2bac03c8275a570415ba3dae02bcc22;p=thirdparty%2Ffreeradius-server.git Add support for -P --- diff --git a/src/main/radtest.in b/src/main/radtest.in index 729711acaf4..cc2ae1277e9 100644 --- a/src/main/radtest.in +++ b/src/main/radtest.in @@ -15,6 +15,7 @@ usage() { echo " -d RADIUS_DIR Set radius directory" >&2 echo " -t Set authentication method" >&2 echo " type can be pap, chap, mschap, or eap-md5" >&2 + echo " -P protocol Select udp (default) or tcp" >&2 echo " -x Enable debug output" >&2 echo " -4 Use IPv4 for the NAS address (default)" >&2 echo " -6 Use IPv6 for the NAS address" >&2 @@ -58,6 +59,10 @@ do OPTIONS="$OPTIONS -d $2" shift;shift ;; + -P) + OPTIONS="$OPTIONS -P $2" + shift;shift + ;; -x) OPTIONS="$OPTIONS -x" shift