1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
|
Author: Michael Stapelberg <stapelberg@debian.org>
Forwarded: https://github.com/FreeRADIUS/freeradius-server/commit/9f4db6476d7c148b5bd19310f02de3b057f2e585
Last-Update: 2016-09-16
---
Index: freeradius-new/src/lib/debug.c
===================================================================
--- freeradius-new.orig/src/lib/debug.c
+++ freeradius-new/src/lib/debug.c
@@ -732,7 +732,7 @@ NEVER_RETURNS void fr_fault(int sig)
if (disable) {
FR_FAULT_LOG("Resetting PR_DUMPABLE to 0");
if (fr_set_dumpable_flag(false) < 0) {
- FR_FAULT_LOG("Failed reseting dumpable flag to off: %s", fr_strerror());
+ FR_FAULT_LOG("Failed resetting dumpable flag to off: %s", fr_strerror());
FR_FAULT_LOG("Exiting due to insecure process state");
fr_exit_now(1);
}
Index: freeradius-new/src/modules/proto_dhcp/dhcpd.c
===================================================================
--- freeradius-new.orig/src/modules/proto_dhcp/dhcpd.c
+++ freeradius-new/src/modules/proto_dhcp/dhcpd.c
@@ -661,7 +661,7 @@ static int dhcp_socket_parse(CONF_SECTIO
}
if (setsockopt(this->fd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) {
- ERROR("Can't set re-use addres option: %s\n",
+ ERROR("Can't set re-use address option: %s\n",
fr_syserror(errno));
return -1;
}
Index: freeradius-new/man/man5/dictionary.5
===================================================================
--- freeradius-new.orig/man/man5/dictionary.5
+++ freeradius-new/man/man5/dictionary.5
@@ -35,7 +35,7 @@ break your RADIUS deployment.
.PP
If you need to add new attributes, please edit the
\fI/etc/raddb/dictionary\fP file. It's sole purpose is to contain
-site-local defintions that are added by the local administrator.
+site-local definitions that are added by the local administrator.
.SH FORMAT
Every line starting with a hash sign
Index: freeradius-new/man/man5/radrelay.conf.5
===================================================================
--- freeradius-new.orig/man/man5/radrelay.conf.5
+++ freeradius-new/man/man5/radrelay.conf.5
@@ -134,7 +134,7 @@ running as radrelay. Please edit \fBrad
The original "radrelay" program was written by Miquel van Smoorenburg
for the Cistron radius project, and ported to FreeRADIUS by Simon
Ekstrand. The "radsqlrelay" was written by Kostas Kalavras. It was
-never released as part of an offical FreeRADIUS release, but served as
+never released as part of an official FreeRADIUS release, but served as
a basis for the design of this implementation.
.PP
.SH FILES
Index: freeradius-new/man/man5/unlang.5
===================================================================
--- freeradius-new.orig/man/man5/unlang.5
+++ freeradius-new/man/man5/unlang.5
@@ -146,7 +146,7 @@ No statement other than "case" can appea
.IP case
.br
Provides a place-holder which matches the argument of a parent
-"switch" statment.
+"switch" statement.
A "case" statement cannot appear outside of a "switch" block.
@@ -397,7 +397,7 @@ conditions
(foo)
.DE
-Evalutes to true if 'foo' is a non-empty string (single quotes, double
+Evaluates to true if 'foo' is a non-empty string (single quotes, double
quotes, or back-quoted). Also evaluates to true if 'foo' is a
non-zero number. Note that the language is poorly typed, so the
string "0000" can be interpreted as a numerical zero. This issue can
@@ -419,7 +419,7 @@ codes are given in MODULE RETURN CODES,
(!foo)
.DE
-Evalutes to true if 'foo' evaluates to false, and vice-versa.
+Evaluates to true if 'foo' evaluates to false, and vice-versa.
.PP
Short-circuit operators
.RS
@@ -480,7 +480,7 @@ We recommend using attribute references
attributes to a string, e.g. (User-Name == "%{Filter-Id}").
Attribute references will be faster and more efficient.
-The conditions will check only the first occurance of an attribute.
+The conditions will check only the first occurrence of an attribute.
If there is more than one instance of an attribute, the following
syntax should be used:
@@ -599,7 +599,7 @@ The trailing 'm' is also optional, and i
and dollar '$' anchors should match on new lines as well as at the
start and end of the subject string.
-If the comparison operator is "=~", then parantheses in the regular
+If the comparison operator is "=~", then parenthesis in the regular
expression will define variables containing the matching text, as
described below in the VARIABLES section.
.SH EXPANSIONS
@@ -677,19 +677,19 @@ The integer value of the Attribute-Name,
name.
e.g. If a request contains "Service-Type = Login-User", the expansion
-of %{integer:Service-Type} will yeild "1".
+of %{integer:Service-Type} will yield "1".
.IP %{hex:Attribute-Name}
The hex value of the Attribute-Name, as a series of hex digits.
e.g. If a request contains "Framed-IP-Address = 127.0.0.1", the expansion
-of %{hex:Framed-IP-Address} will yeild "0x7f000001".
+of %{hex:Framed-IP-Address} will yield "0x7f000001".
.IP %{Attribute-Name[#]}
The number of instances of Attribute-Name.
e.g. If a request contains "User-Name = bob", the expansion
-of %{User-Name[#]} will yeild "1".
+of %{User-Name[#]} will yield "1".
.IP %{Attribute-Name[*]}
All values of Attribute-Name, concatenated together with ',' as the
@@ -775,7 +775,7 @@ no attribute exists, it is added with th
This operator is valid only for attributes of integer type.
.IP !*
-Delete all occurances of the named attribute, no matter what the
+Delete all occurrences of the named attribute, no matter what the
value.
.IP =~
Keep all attributes having values which match the given regular
Index: freeradius-new/src/modules/rlm_krb5/rlm_krb5.c
===================================================================
--- freeradius-new.orig/src/modules/rlm_krb5/rlm_krb5.c
+++ freeradius-new/src/modules/rlm_krb5/rlm_krb5.c
@@ -171,7 +171,7 @@ static int mod_instantiate(CONF_SECTION
ret = krb5_get_init_creds_opt_alloc(inst->context, &(inst->gic_options)); /* For some reason the 'init' version
of this function is deprecated */
if (ret) {
- ERROR("rlm_krb5 (%s): Couldn't allocated inital credential options: %s", inst->xlat_name,
+ ERROR("rlm_krb5 (%s): Couldn't allocated initial credential options: %s", inst->xlat_name,
rlm_krb5_error(inst->context, ret));
return -1;
Index: freeradius-new/src/modules/rlm_mschap/rlm_mschap.c
===================================================================
--- freeradius-new.orig/src/modules/rlm_mschap/rlm_mschap.c
+++ freeradius-new/src/modules/rlm_mschap/rlm_mschap.c
@@ -1920,7 +1920,7 @@ static rlm_rcode_t CC_HINT(nonnull) mod_
if (inst->with_ntdomain_hack) {
username_string++;
} else {
- RWDEBUG2("NT Domain delimeter found, should with_ntdomain_hack of been enabled?");
+ RWDEBUG2("NT Domain delimiter found, should with_ntdomain_hack of been enabled?");
username_string = name_attr->vp_strvalue;
}
} else {
|