]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix typos in raddb
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Thu, 21 Dec 2023 08:40:55 +0000 (09:40 +0100)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Thu, 21 Dec 2023 11:00:33 +0000 (11:00 +0000)
Misspellings found by codespell.

19 files changed:
raddb/dictionary
raddb/mods-available/files
raddb/mods-config/perl/example.pl
raddb/mods-config/sql/driver/cassandra
raddb/mods-config/sql/driver/mysql
raddb/mods-config/sql/ippool/mssql/procedure.sql
raddb/mods-config/sql/ippool/mssql/queries.conf
raddb/mods-config/sql/ippool/mysql/queries.conf
raddb/mods-config/sql/ippool/oracle/queries.conf
raddb/mods-config/sql/ippool/postgresql/queries.conf
raddb/mods-config/sql/ippool/sqlite/queries.conf
raddb/mods-config/sql/main/mysql/process-radacct.sql
raddb/mods-config/sql/main/postgresql/extras/cisco_h323_db_schema.sql
raddb/mods-config/sql/main/postgresql/extras/update_radacct_group.sql
raddb/mods-config/sql/main/postgresql/process-radacct.sql
raddb/mods-config/sql/main/sqlite/process-radacct-schema.sql
raddb/policy.d/accounting
raddb/policy.d/time
raddb/radiusd.conf.in

index b5455ffbaa4e0fd4415dea945747b992f3f863ae..3209ed76b8f0216f22b15068016b19c93d4806b0 100644 (file)
@@ -39,7 +39,7 @@
 #
 #  v4 also supports a `dictionary { ... }` subsection in a virtual
 #  server.  If the attributes are used only in one virtual server,
-#  they shuld be defined there.
+#  they should be defined there.
 #
 
 #
@@ -85,7 +85,7 @@
 #  ## v3 Compatible names.
 #
 #  All of the attributes have been renamed from v3.  This change was
-#  necessary in order to support new funtionality in v4.  The
+#  necessary in order to support new functionality in v4.  The
 #  unfortunate side effect of this change is that all of the names in
 #  SQL, LDAP, and the "files" module are incompatible with v4.
 #
 #  Yes, we recognize that this process is a bit of work.  However, we
 #  wish to encourage everyone using v4 to upgrade to using the new v4
 #  features.  Our experience shows that if we automatically enable
-#  "compatibility functions", then those compatiblity functions will
+#  "compatibility functions", then those compatibility functions will
 #  be used for a decade.  So we need to find a balance between
 #  upgrades and ongoing support.  Easy upgrades will mean complex
 #  ongoing support.  Complex upgrades make ongoing support easier, but
index 6f0d3a2aa58856e91c72e7b5acfadd23aced7de9..57417b09448a230b7f7a6c9061b0c1ee9a1e3c2e 100644 (file)
@@ -9,7 +9,7 @@
 #
 #  The `users` file as located in `raddb/mods-config/files/authorize`. (Livingston-style format).
 #
-#  See the doc/antora/modules/raddb/pages/mods-config/files/users.adoc file documention for information
+#  See the doc/antora/modules/raddb/pages/mods-config/files/users.adoc file documentation for information
 #  on the format of the input file, and how it operates.
 #
 
index 8412765af4258e39159012b2a32b12536c3d86fa..32b4f58d7a24a6b63f84b4d312f5b00a92c8530d 100644 (file)
@@ -36,15 +36,15 @@ use Data::Dumper;
 # Bring the global hashes into the package scope
 our (%RAD_REQUEST, %RAD_REPLY, %RAD_CONFIG, %RAD_STATE);
 
-# This is hash wich hold original request from radius
+# This hash holds the original request from radius
 #my %RAD_REQUEST;
 # In this hash you add values that will be returned to NAS.
 #my %RAD_REPLY;
-#This is for config items (was %RAD_CHECK in earlier versions)
+# This hash contains config items (was %RAD_CHECK in earlier versions)
 #my %RAD_CONFIG;
-# This is the session-sate
+# This is the session state
 #my %RAD_STATE;
-# This is configuration items from "config" perl module configuration section
+# This hash contains config items from "config" perl module configuration section
 #my %RAD_PERLCONF;
 
 # Multi-value attributes are mapped to perl arrayrefs.
index 9299c74cb29872714272465e2b3c8056609a9bbb..b7a7f9e715dc26ace3dc65d768d5c1c9e7059d9d 100644 (file)
@@ -89,7 +89,7 @@ cassandra {
                # Number of hosts used at each remote dc (default 0).
 #              hosts_per_remote_dc = 0
 
-               # Allow remote hosts to be used in no local dc hosts are avaiable and the
+               # Allow remote hosts to be used if no local dc hosts are available and the
                # consistency level is 'local_one' or 'local_quorum' (default no).
 #              allow_remote_dcs_for_local_cl = no
        }
index 87624bdf3357e27474b0d962fac3c79bb4db3c66..d84f19aae140ba5316934a642e2f36ac099c3659 100644 (file)
@@ -18,6 +18,6 @@ mysql {
 #
        # If yes, (or auto and libmysqlclient reports warnings are
        # available), will retrieve and log additional warnings from
-       # the server if an error has occured. Defaults to 'auto'
+       # the server if an error has occurred. Defaults to 'auto'
        warnings = auto
 }
index 1fd07ce87166e3a3127b8aadda065b69af9e15f6..b972b815ad12c4f7ae0659e0d79914ecdc882ffe 100644 (file)
@@ -39,7 +39,7 @@ AS
 
                -- MS SQL lacks a "SELECT FOR UPDATE" statement, and its table
                -- hints do not provide a direct means to implement the row-level
-               -- read lock needed to guarentee that concurrent queries do not
+               -- read lock needed to guarantee that concurrent queries do not
                -- select the same Framed-IP-Address for allocation to distinct
                -- users.
                --
index ce95501d50797c64e69ae2c203523103044be867..431f331b73845ffbc3948ec046daf736e0f1d4ea 100644 (file)
@@ -202,7 +202,7 @@ update_free = "\
 #  This query must update a row when a lease is successfully requested -
 #  queries that update no rows will result in a "notfound" response to
 #  the module which by default will give a NAK reply (for DHCPv4).
-#  In this example incrementing "counter" is used to acheive this.
+#  In this example incrementing "counter" is used to achieve this.
 #
 update_update = "\
        UPDATE ${ippool_table} \
index a84293db73a9101cede8c6edc192cfb37702ebd8..9699290796c2f1262c55853b5b40deb23d5efb57 100644 (file)
@@ -164,7 +164,7 @@ update_free = "\
 #  This query must update a row when a lease is successfully requested -
 #  queries that update no rows will result in a "notfound" response to
 #  the module which by default will give a NAK reply.  In this example
-#  incrementing "counter" is used to acheive this.
+#  incrementing "counter" is used to achieve this.
 #
 update_update = "\
        UPDATE ${ippool_table} \
index fbc9d2d8443e98f3ce2b2f26a32432055c715b5d..e118077d48fc31794c3f686995ca9dae62ddf19b 100644 (file)
@@ -121,7 +121,7 @@ pool_check = "\
 #  This query must update a row when a lease is successfully requested -
 #  queries that update no rows will result in a "notfound" response to
 #  the module which by default will give a NAK reply.  In this example
-#  incrementing "counter" is used to acheive this.
+#  incrementing "counter" is used to achieve this.
 #
 update_begin = "commit"
 update_update = "\
index 9af5935eca0d3170a53071439dd490b9ac103ceb..a5ba7193adadbaaea07a826d7d1be63578564312 100644 (file)
@@ -183,7 +183,7 @@ update_free = "\
 #  This query must update a row when a lease is successfully requested -
 #  queries that update no rows will result in a "notfound" response to
 #  the module which by default will give a NAK reply.  In this example
-#  incrementing "counter" is used to acheive this.
+#  incrementing "counter" is used to achieve this.
 #
 update_update = "\
        UPDATE ${ippool_table} \
index ba4ab2c4cfa72c69fb85183489383f22b2f37332..7f8337a22cd2a60f8d2af86e85295686a2ae7170 100644 (file)
@@ -32,7 +32,7 @@ alloc_commit = "COMMIT"
 #
 
 #
-#  Is there an exsiting address for this client
+#  Is there an existing address for this client
 #
 alloc_existing = "SELECT address \
        FROM ${ippool_table} \
@@ -133,7 +133,7 @@ update_free = "\
 #  This query must update a row when a lease is successfully requested -
 #  queries that update no rows will result in a "notfound" response to
 #  the module which by default will give a NAK reply.  In this example
-#  incrementing "counter" is used to acheive this.
+#  incrementing "counter" is used to achieve this.
 #
 update_update = "\
        UPDATE ${ippool_table} \
index 3555abd98ff2cb89f7693b35a644dcf1b1cdc171..9690b7323849fa98d70edcf7a68b22e3eb1dc52b 100644 (file)
@@ -173,7 +173,7 @@ DELIMITER ;
 --  this strategy leaves them open and records the NAS reload time in the
 --  nasreload table.
 --
---  Where applicable, the onus is on the administator to:
+--  Where applicable, the onus is on the administrator to:
 --
 --    * Consider the nas reload times when deriving a list of
 --      active/inactive sessions, and when determining the duration of sessions
index ba28920c7d042cd157228f431ea145819140d545..8f1b19843042adcb7ea301be3cec74f93382a1ee 100644 (file)
@@ -115,7 +115,7 @@ CREATE TABLE StopTelephony (
        processed               BOOLEAN DEFAULT false
 );
 
--- You can have more than one record that is identical except for CiscoNASPort if you have a dial peer hungroup
+-- You can have more than one record that is identical except for CiscoNASPort if you have a dial peer huntgroup
 -- configured for multiple PRIs.
 create UNIQUE index stoptelephonycombo on stoptelephony (AcctTime, nasipaddress, CallID, CiscoNASPort);
 
@@ -180,7 +180,7 @@ CREATE TRUSTED LANGUAGE "plpgsql" HANDLER "plpgsql_call_handler";
 -- We therefore do not bother to strip asterisks (*) from timestamps, as you NEED ntp setup
 -- unless you don't care about billing at all!
 --
---  * Example useage:
+--  * Example usage:
 --      insert into mytable values (strip_dot('.16:46:02.356 EET Wed Dec 11 2002'));
 --
 CREATE OR REPLACE FUNCTION strip_dot (VARCHAR) RETURNS TIMESTAMPTZ AS '
index 7919f635157e69c62a148083007c570e84fe4785..b6043312c97a40c7afd21437e29906b5df821146 100644 (file)
@@ -3,7 +3,7 @@
 --
 -- OPTIONAL Postgresql trigger for FreeRADIUS
 --
--- This trigger updates fills in the groupname field (which doesnt come in Accounting packets)
+-- This trigger updates fills in the groupname field (which doesn't come in Accounting packets)
 -- by querying the radusergroup table.
 -- This makes it easier to do group summary reports, however note that it does add some extra
 -- database load to 50% of your SQL accounting queries. If you dont care about group summary
index e8d825c8ae2428013997f4dffd8f869928e82182..4c988c5153dfa963f1b9c6e97e76e4f0618613a1 100644 (file)
@@ -159,7 +159,7 @@ $$;
 --  this strategy leaves them open and records the NAS reload time in the
 --  nasreload table.
 --
---  Where applicable, the onus is on the administator to:
+--  Where applicable, the onus is on the administrator to:
 --
 --    * Consider the nas reload times when deriving a list of
 --      active/inactive sessions, and when determining the duration of sessions
index b429d4c6bdb68cd11ec169fed5b821efabe2fecd..3304669e59c99f420a7baacaa2b828dee8a0f944 100644 (file)
@@ -63,7 +63,7 @@ CREATE INDEX idx_data_usage_by_period_period_end ON data_usage_by_period(period_
 --  this strategy leaves them open and records the NAS reload time in the
 --  nasreload table.
 --
---  Where applicable, the onus is on the administator to:
+--  Where applicable, the onus is on the administrator to:
 --
 --    * Consider the nas reload times when deriving a list of
 --      active/inactive sessions, and when determining the duration of sessions
index fde1ca04eeb23112d9b79fc5fcfe3fd053c785e6..b8177c5813942ac6c8d0035c77e4a49c7054961c 100644 (file)
@@ -42,7 +42,7 @@ acct_unique {
        #  Acct-Unique-Session-Id, but this may cause problems
        #  with NAS that carry Class values across between
        #  multiple linked sessions.  So we rehash class with
-       #  Acct-Session-ID to provide a truely unique session
+       #  Acct-Session-ID to provide a truly unique session
        #  identifier.
        #
        #  Using a Class/Session-ID combination is more robust
index b1adfd87593791dbe7cd60341afa34267123e915..5455fa10f8904ab39b09bbca729375d2886b6823 100644 (file)
@@ -6,7 +6,7 @@ expiration {
                time_delta timeout
 
                #
-               #  %l is "when the server received the reuest"
+               #  %l is "when the server received the request"
                #
                if (&control.Expiration < %l) {
                        disallow
index 254ea4f47454f7a78b92cb2f86500d023c00c3dc..b03ccfdda828719b0e66ceefbe8d5897c7185450 100644 (file)
@@ -368,7 +368,7 @@ log debug {
 #
 ENV {
        #
-       #  Set environment varable `FOO` to value '/bar/baz'.
+       #  Set environment variable `FOO` to value '/bar/baz'.
        #
        #  NOTE: Note that you MUST use '='.  You CANNOT use '+=' to append
        #  values.