[radtest] Allow spaces in shared secret

Cedric Carree cedric.carree at mancalanetworks.com
Tue Nov 9 10:10:51 CET 2010


Hi. 

A (very) little fix to allow usage of spaces in shared secret with radtest. 

--- /usr/bin/radtest 2010-11-08 09:38:23.016945454 +0100 
+++ /home/cedric.carree/radtest 2010-11-09 09:51:46.012445301 +0100 
@@ -50,6 +50,6 @@ 
then 
echo "Framed-Protocol = PPP" 
fi 
-) | $radclient $DICTIONARY -x $3 auth $5 
+) | $radclient $DICTIONARY -x $3 auth "$5" 

exit $? 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20101109/3ba9d82c/attachment.html>


More information about the Freeradius-Devel mailing list