Fix some typos (found by codespell)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2023-01-10 19:07:51 +01:00
parent c60ada47fe
commit be7e22ddc2
13 changed files with 19 additions and 19 deletions

View File

@ -6,7 +6,7 @@ label: bug
<!-- <!--
Please carefully fill out the questionaire below to help improve the Please carefully fill out the questionnaire below to help improve the
timely triaging of issues. Walk through the questions below and use timely triaging of issues. Walk through the questions below and use
them as an inspiration for what information you can provide. them as an inspiration for what information you can provide.

View File

@ -4,7 +4,7 @@ use strict;
use warnings; use warnings;
use Text::Balanced qw(extract_bracketed extract_delimited extract_tagged); use Text::Balanced qw(extract_bracketed extract_delimited extract_tagged);
@ARGV >= 1 || die "Usage: $0 <source direcory>\n"; @ARGV >= 1 || die "Usage: $0 <source directory>\n";
my %stringtable; my %stringtable;

View File

@ -91,7 +91,7 @@ update.sh
getversion.sh getversion.sh
Used to determine the version numbers of the repositories of Gluon and the Used to determine the version numbers of the repositories of Gluon and the
site configuraiton, to be included in the built firmware images as site configuration, to be included in the built firmware images as
*/lib/gluon/gluon-version* and */lib/gluon/site-version*. */lib/gluon/gluon-version* and */lib/gluon/site-version*.
By default, this uses ``git describe`` to generate a version number based By default, this uses ``git describe`` to generate a version number based

View File

@ -102,7 +102,7 @@ However, the important changes to the fastd config on your Supernode are:
| This tells fastd to use the l2tp kernel module. | This tells fastd to use the l2tp kernel module.
- | Set ``persist interface no;`` - | Set ``persist interface no;``
| This tells fastd to only keep interfaces arround while the connection is active. | This tells fastd to only keep interfaces around while the connection is active.
Note that in ``multitap`` mode, which is required when using L2TP offloading, Note that in ``multitap`` mode, which is required when using L2TP offloading,
fastd will create one interface per peer on the supernode's. This allows fastd will create one interface per peer on the supernode's. This allows
@ -114,7 +114,7 @@ There are two main options on how you can handle this:
- create ``on up`` and ``on down`` hooks - create ``on up`` and ``on down`` hooks
- to handle interface setup and destruction - to handle interface setup and destruction
- preferrably using the async keyword, so hooks are not blocking fastd - preferably using the async keyword, so hooks are not blocking fastd
- use a daemon like systemd-networkd - use a daemon like systemd-networkd
@ -179,7 +179,7 @@ More information about the wgpeerselector and its algorithm can be found
`here <https://github.com/freifunk-gluon/packages/blob/master/net/wgpeerselector/README.md>`__. `here <https://github.com/freifunk-gluon/packages/blob/master/net/wgpeerselector/README.md>`__.
On the gluon node both VXLAN and the wgpeerselector are well integrated and no On the gluon node both VXLAN and the wgpeerselector are well integrated and no
explicit configuation of those tools is necessary, once the general WireGuard explicit configuration of those tools is necessary, once the general WireGuard
support has been configured. support has been configured.
Attention must by paid to time synchronization. As WireGuard Attention must by paid to time synchronization. As WireGuard

View File

@ -7,7 +7,7 @@ Bugfixes
- LEDs on the ASUS RT-AC51 are now fully functional. - LEDs on the ASUS RT-AC51 are now fully functional.
- Netgear EX6150v1 randomly booting into failsafe mode has been fixed. - Netgear EX6150v1 randomly booting into failsafe mode has been fixed.
This happened dependant on the state of the mode setting switch. This happened dependent on the state of the mode setting switch.
- Dnsmasq has been patched against multiple security issues in its DNS response validation. - Dnsmasq has been patched against multiple security issues in its DNS response validation.
See the OpenWrt advisory at https://openwrt.org/advisory/2021-01-19-1 See the OpenWrt advisory at https://openwrt.org/advisory/2021-01-19-1

View File

@ -30,7 +30,7 @@ ramips-mt76x8
Bugfixes Bugfixes
-------- --------
- Missing bandwith limit settings resulted in a respondd crash for v2021.1. - Missing bandwidth limit settings resulted in a respondd crash for v2021.1.
- The Tunneldigger VPN provider was not registered with the Gluon VPN backend, resulting in broken Tunneldigger configurations. - The Tunneldigger VPN provider was not registered with the Gluon VPN backend, resulting in broken Tunneldigger configurations.

View File

@ -162,7 +162,7 @@ Maximum MTU
Calculation of different derived MTUs based on a maximum WAN MTU of 1436. Calculation of different derived MTUs based on a maximum WAN MTU of 1436.
Sugestions: Suggestions:
- This configuration can be used for fastd and Tunneldigger. - This configuration can be used for fastd and Tunneldigger.

View File

@ -6,7 +6,7 @@
sass --sourcemap=none -C -t compressed sass/gluon.scss files/lib/gluon/config-mode/www/static/gluon.css sass --sourcemap=none -C -t compressed sass/gluon.scss files/lib/gluon/config-mode/www/static/gluon.css
When commiting changes to this file make sure to commit the respective When committing changes to this file make sure to commit the respective
changes to the compilid version within the same commit! changes to the compilid version within the same commit!
*/ */

View File

@ -23,7 +23,7 @@ local function find_phy_by_path(path)
path_prefix = 'platform/' path_prefix = 'platform/'
end end
-- Get all available PHYs of the device and dertermine the one with the lowest index -- Get all available PHYs of the device and determine the one with the lowest index
local phy_names = dirent.dir('/sys/devices/' .. path_prefix .. device_path .. '/ieee80211') local phy_names = dirent.dir('/sys/devices/' .. path_prefix .. device_path .. '/ieee80211')
local device_phy_idxs = {} local device_phy_idxs = {}
for _, v in ipairs(phy_names) do for _, v in ipairs(phy_names) do

View File

@ -310,7 +310,7 @@ uint32_t hashlittle( const void *key, size_t length, uint32_t initval)
* rest of the string. Every machine with memory protection I've seen * rest of the string. Every machine with memory protection I've seen
* does it on word boundaries, so is OK with this. But VALGRIND will * does it on word boundaries, so is OK with this. But VALGRIND will
* still catch it and complain. The masking trick does make the hash * still catch it and complain. The masking trick does make the hash
* noticably faster for short strings (like English words). * noticeably faster for short strings (like English words).
*/ */
#ifndef VALGRIND #ifndef VALGRIND
@ -494,7 +494,7 @@ void hashlittle2(
* rest of the string. Every machine with memory protection I've seen * rest of the string. Every machine with memory protection I've seen
* does it on word boundaries, so is OK with this. But VALGRIND will * does it on word boundaries, so is OK with this. But VALGRIND will
* still catch it and complain. The masking trick does make the hash * still catch it and complain. The masking trick does make the hash
* noticably faster for short strings (like English words). * noticeably faster for short strings (like English words).
*/ */
#ifndef VALGRIND #ifndef VALGRIND
@ -670,7 +670,7 @@ uint32_t hashbig( const void *key, size_t length, uint32_t initval)
* rest of the string. Every machine with memory protection I've seen * rest of the string. Every machine with memory protection I've seen
* does it on word boundaries, so is OK with this. But VALGRIND will * does it on word boundaries, so is OK with this. But VALGRIND will
* still catch it and complain. The masking trick does make the hash * still catch it and complain. The masking trick does make the hash
* noticably faster for short strings (like English words). * noticeably faster for short strings (like English words).
*/ */
#ifndef VALGRIND #ifndef VALGRIND
@ -802,7 +802,7 @@ void driver2()
{ {
for (j=0; j<8; ++j) /*------------------------ for each input bit, */ for (j=0; j<8; ++j) /*------------------------ for each input bit, */
{ {
for (m=1; m<8; ++m) /*------------ for serveral possible initvals, */ for (m=1; m<8; ++m) /*------------ for several possible initvals, */
{ {
for (l=0; l<HASHSTATE; ++l) for (l=0; l<HASHSTATE; ++l)
e[l]=f[l]=g[l]=h[l]=x[l]=y[l]=~((uint32_t)0); e[l]=f[l]=g[l]=h[l]=x[l]=y[l]=~((uint32_t)0);

View File

@ -1,5 +1,5 @@
THe previous version of the status page had a Russian translation; THe previous version of the status page had a Russian translation;
if we ever add Russion to gluon-web, the following strings can be reused: if we ever add Russian to gluon-web, the following strings can be reused:
"Node": "Узел", "Node": "Узел",
"Distance": "Дальность", "Distance": "Дальность",

View File

@ -6,7 +6,7 @@
sass --sourcemap=none -C -t compressed sass/status-page.scss files/lib/gluon/status-page/www/static/status-page.css sass --sourcemap=none -C -t compressed sass/status-page.scss files/lib/gluon/status-page/www/static/status-page.css
When commiting changes to this file make sure to commit the respective When committing changes to this file make sure to commit the respective
changes to the compiled version within the same commit! changes to the compiled version within the same commit!
*/ */

View File

@ -3,7 +3,7 @@
-- Licensed to the public under the Apache License 2.0. -- Licensed to the public under the Apache License 2.0.
-- This class contains several functions useful for http message- and content -- This class contains several functions useful for http message- and content
-- decoding and to retrive form data from raw http messages. -- decoding and to retrieve form data from raw http messages.
local M = {} local M = {}
@ -98,7 +98,7 @@ function M.urldecode_params(url)
end end
-- Content-Type. Stores all extracted data associated with its parameter name -- Content-Type. Stores all extracted data associated with its parameter name
-- in the params table withing the given message object. Multiple parameter -- in the params table within the given message object. Multiple parameter
-- values are stored as tables, ordinary ones as strings. -- values are stored as tables, ordinary ones as strings.
-- If an optional file callback function is given then it is fed with the -- If an optional file callback function is given then it is fed with the
-- file contents chunk by chunk and only the extracted file name is stored -- file contents chunk by chunk and only the extracted file name is stored