]> tinc-vpn.org Git - tinc/commitdiff
Fix spelling mistakes found by codespell
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 26 Feb 2026 20:46:57 +0000 (21:46 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 26 Feb 2026 20:46:57 +0000 (21:46 +0100)
doc/PROTOCOL
src/bsd/tunemu.c
src/net.c
src/netutl.c
src/subnet.c

index edf3906557a89ce7915e58b52a949e290dc252df..fd56d33a3a542f97d89e606b40fc6512bbb4a370 100644 (file)
@@ -127,7 +127,7 @@ chances are that not every tinc daemon will ever send a packet to every
 other daemon. Instead, if a daemon needs a key it sends a request for it
 via the meta connection of the nearest hop in the direction of the
 destination. If any hop on the way has already learned the key, it will
-act as a proxy and forward its copy back to the requestor.
+act as a proxy and forward its copy back to the requester.
 
 daemon message
 --------------------------------------------------------------------------
index 7ff6f720219eca47e5124edae8257e1086eb74d7..7a13050c5afecd449bf4cf3a759d77789e828785 100644 (file)
@@ -154,7 +154,7 @@ static int ppp_new_instance() {
                }
        }
 
-       // connect to ppp procotol
+       // connect to ppp protocol
        struct sockaddr_ppp pppaddr;
        pppaddr.ppp_len = sizeof(struct sockaddr_ppp);
        pppaddr.ppp_family = AF_PPP;
index 0f6b9f4e99ff9b6353c14ab44fb61939aee7c8fe..7e621df629058a55863191f594744cad280d89db 100644 (file)
--- a/src/net.c
+++ b/src/net.c
@@ -607,7 +607,7 @@ int main_loop(void) {
                        init_configuration(&config_tree);
 
                        if(!read_server_config()) {
-                               logger(LOG_ERR, "Unable to reread configuration file, exitting.");
+                               logger(LOG_ERR, "Unable to reread configuration file, exiting.");
                                return 1;
                        }
 
index abe3d876535319e20dc4a10665b8fe000b114ce5..548652255ac37533ebf91e0089504216b6bc4e1b 100644 (file)
@@ -168,7 +168,7 @@ int sockaddrcmp_noport(const sockaddr_t *a, const sockaddr_t *b) {
                return memcmp(&a->in6.sin6_addr, &b->in6.sin6_addr, sizeof(a->in6.sin6_addr));
 
        default:
-               logger(LOG_ERR, "sockaddrcmp() was called with unknown address family %d, exitting!",
+               logger(LOG_ERR, "sockaddrcmp() was called with unknown address family %d, exiting!",
                       a->sa.sa_family);
                abort();
        }
@@ -215,7 +215,7 @@ int sockaddrcmp(const sockaddr_t *a, const sockaddr_t *b) {
                return memcmp(&a->in6.sin6_port, &b->in6.sin6_port, sizeof(a->in6.sin6_port));
 
        default:
-               logger(LOG_ERR, "sockaddrcmp() was called with unknown address family %d, exitting!",
+               logger(LOG_ERR, "sockaddrcmp() was called with unknown address family %d, exiting!",
                       a->sa.sa_family);
                abort();
        }
index da69810cf980e53393338469248e360d62020ec1..7c4c94e1422b923193d4d19c42d006d7037de7bb 100644 (file)
@@ -146,7 +146,7 @@ int subnet_compare(const subnet_t *a, const subnet_t *b) {
                return subnet_compare_ipv6(a, b);
 
        default:
-               logger(LOG_ERR, "subnet_compare() was called with unknown subnet type %d, exitting!",
+               logger(LOG_ERR, "subnet_compare() was called with unknown subnet type %d, exiting!",
                       a->type);
                exit(0);
        }