summaryrefslogtreecommitdiffstats
path: root/etc/inc/voucher.inc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-02-11 12:52:14 +0545
committerPhil Davis <phil.davis@inf.org>2015-02-11 12:52:14 +0545
commitf416763bf064543850524f1d6436166d8be72a5b (patch)
treea52ad17845a9f80edef17c59cdf1d7238bf4e7bf /etc/inc/voucher.inc
parent51e76899e66360dc9d8e35f68282c54ccd9a4759 (diff)
downloadpfsense-f416763bf064543850524f1d6436166d8be72a5b.zip
pfsense-f416763bf064543850524f1d6436166d8be72a5b.tar.gz
Random text typos
that I noticed.
Diffstat (limited to 'etc/inc/voucher.inc')
-rw-r--r--etc/inc/voucher.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc
index f9b41b3..f6b7248 100644
--- a/etc/inc/voucher.inc
+++ b/etc/inc/voucher.inc
@@ -284,7 +284,7 @@ function voucher_expire($voucher_received) {
$unsetindexes[] = $cpentry[5];
}
} else
- captiveportal_syslog("$voucher ($roll/$nr): not found on any registererd Roll");
+ captiveportal_syslog("$voucher ($roll/$nr): not found on any registered Roll");
} else
// hmm, thats weird ... not what I expected
captiveportal_syslog("$voucher invalid: {$output[0]}!!");
@@ -296,7 +296,7 @@ function voucher_expire($voucher_received) {
voucher_write_active_db($roll, $active);
unset($active_vouchers);
- /* Triger a sync of the vouchers on config */
+ /* Trigger a sync of the vouchers on config */
send_event("service sync vouchers");
}
@@ -412,8 +412,8 @@ function voucher_auth($voucher_received, $test = 0) {
}
}
} else {
- $test_result[] = "$voucher ($roll/$nr): not found on any registererd Roll";
- captiveportal_syslog("$voucher ($roll/$nr): not found on any registererd Roll");
+ $test_result[] = "$voucher ($roll/$nr): not found on any registered Roll";
+ captiveportal_syslog("$voucher ($roll/$nr): not found on any registered Roll");
}
} else {
// hmm, thats weird ... not what I expected
@@ -480,7 +480,7 @@ function voucher_auth($voucher_received, $test = 0) {
$active_vouchers[$first_voucher_roll][$first_voucher] = "$timestamp,$minutes";
voucher_write_active_db($first_voucher_roll, $active_vouchers[$first_voucher_roll]);
- /* Triger a sync of the vouchers on config */
+ /* Trigger a sync of the vouchers on config */
send_event("service sync vouchers");
unlock($voucherlck);
@@ -560,7 +560,7 @@ function voucher_configure_zone($sync = false) {
$timestamp = $activent['timestamp'];
$minutes = $activent['minutes'];
// its tempting to check for expired timestamps, but during
- // bootup, we most likely don't have the correct time time.
+ // bootup, we most likely don't have the correct time.
$active_vouchers[$voucher] = "$timestamp,$minutes";
}
}
@@ -613,7 +613,7 @@ function voucher_read_active_db($roll) {
if ($dirty) { // if we found expired entries, lets save our snapshot
voucher_write_active_db($roll, $active);
- /* Triger a sync of the vouchers on config */
+ /* Trigger a sync of the vouchers on config */
send_event("service sync vouchers");
}
}
@@ -735,7 +735,7 @@ function voucher_save_db_to_config_zone() {
unlock($voucherlck);
- write_config("Synching vouchers");
+ write_config("Syncing vouchers");
return;
}
OpenPOWER on IntegriCloud