]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add -b option to radtest
authorNick Porter <nick@portercomputing.co.uk>
Tue, 20 May 2025 08:09:25 +0000 (09:09 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 10 Jun 2025 10:47:49 +0000 (11:47 +0100)
src/main/radtest.in

index 6b7103214f283fd0fd8ac61eda852a92c2008d33..f124f2122afee81e17a60327743e639317940818 100644 (file)
@@ -19,6 +19,7 @@ usage() {
        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
+       echo "        -b                  Mandate checks for Blast RADIUS (this is not set by default)." >&2
        exit 1
 }
 
@@ -55,6 +56,10 @@ do
                NAS_ADDR_ATTR="NAS-IPv6-Address"
                shift
                ;;
+       -b)
+               OPTIONS="$OPTIONS -b"
+               shift
+               ;;
        -d) 
                OPTIONS="$OPTIONS -d $2"
                shift;shift