aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeradius2
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2013-06-18 18:49:39 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2013-06-18 18:49:39 -0400
commit34cb0a39d7d14ecba7a4fc5060a04760d3921bc8 (patch)
treebe1f93eff4980ae6cf3f0d3bbbd5735a426f7b60 /config/freeradius2
parent8c5840439b815474d2a39434147b7892590198f3 (diff)
parent268bcb9a886494c81191ec63e220ec1c02508b65 (diff)
downloadpfsense-packages-34cb0a39d7d14ecba7a4fc5060a04760d3921bc8.tar.gz
pfsense-packages-34cb0a39d7d14ecba7a4fc5060a04760d3921bc8.tar.bz2
pfsense-packages-34cb0a39d7d14ecba7a4fc5060a04760d3921bc8.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'config/freeradius2')
-rw-r--r--config/freeradius2/freeradius.inc2
-rw-r--r--config/freeradius2/freeradius.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/freeradius2/freeradius.inc b/config/freeradius2/freeradius.inc
index b2df3d0b..bf48dd06 100644
--- a/config/freeradius2/freeradius.inc
+++ b/config/freeradius2/freeradius.inc
@@ -4003,7 +4003,7 @@ USERNAME=`echo -n "\$1" | sed 's/[^0-9a-zA-Z._-]/X/g' `
PASSWD=`echo -n "\$2" | sed 's/[^0-9a-f]/0/g' `
SECRET=`echo -n "\$3" | sed 's/[^0-9a-f]/0/g' `
PIN=`echo -n "\$4" | sed 's/[^0-9]/0/g' `
-OFFSET=`echo -n "\$5" | sed 's/[^0-9]/0/g' `
+OFFSET=`echo -n "\$5" | sed 's/[^0-9-]/0/g' `
EPOCHTIME=`date +%s` ; EPOCHTIME=`chop \$EPOCHTIME`
# delete old logins
diff --git a/config/freeradius2/freeradius.xml b/config/freeradius2/freeradius.xml
index c9381c81..8e3105ef 100644
--- a/config/freeradius2/freeradius.xml
+++ b/config/freeradius2/freeradius.xml
@@ -275,7 +275,7 @@
1. Write down the first 9 digits of the Epoch-Time on the client.<br>
2. Check with <b>date +%s</b> the Epoch-Time on your FreeRADIUS server and write down the first 9 digits.<br>
- 3. Subtract both values, multiply the result with 10 and enter the value in this field. (Default: 0)]]></description>
+ 3. Subtract both values, multiply the result with 10 and enter the value in this field. Example: 30 or -180 (Default: 0)]]></description>
<type>input</type>
<default_value>0</default_value>
</field>