]> git.lizzy.rs Git - plan9front.git/commitdiff
tinc: fix spelling and update manpage (thanks unobe)
authorcinap_lenrek <cinap_lenrek@felloff.net>
Sun, 15 Aug 2021 09:54:09 +0000 (09:54 +0000)
committercinap_lenrek <cinap_lenrek@felloff.net>
Sun, 15 Aug 2021 09:54:09 +0000 (09:54 +0000)
 Update tinc(8) man page to:
    1.  state the implementation aligns with 1.0.36 of tinc.org;
    2.  use same hostname as mentioned in usage line.
  Fix typos in tinc.c.

sys/man/8/tinc
sys/src/cmd/ip/tinc.c

index 0cd7b32e40f1ebba02fa160730585cc31285fbdf..cd4fba46fb16b0118b5e51db21a2dcf77ddc9eb8 100644 (file)
@@ -29,7 +29,7 @@ tinc - mesh peer to peer VPN
 .SH DESCRIPTION
 Tinc implements the mesh peer to peer VPN protocol from
 .I https://www.tinc-vpn.org/
 .SH DESCRIPTION
 Tinc implements the mesh peer to peer VPN protocol from
 .I https://www.tinc-vpn.org/
-as of version 1.0.32. Within a tinc VPN one can reach all
+as of version 1.0.36. Within a tinc VPN one can reach all
 the subnets of all hosts within the network even when not
 directly connected to the owning host of the subnet.
 .PP
 the subnets of all hosts within the network even when not
 directly connected to the owning host of the subnet.
 .PP
@@ -110,7 +110,7 @@ for the VPN.
 .TP
 .B -n
 Sets our hostname to
 .TP
 .B -n
 Sets our hostname to
-.IR myhost .
+.IR myname .
 .SH "SEE ALSO"
 .IR rsa (8),
 .IR ip (3)
 .SH "SEE ALSO"
 .IR rsa (8),
 .IR ip (3)
index 94a5e0ec687e950d4592be97050b7a12de6a4be5..3e34c90b1e504160098c31fd20947b466ff01252 100644 (file)
@@ -76,7 +76,7 @@ struct Edge
        Host    *src;
        Host    *dst;
        Edge    *next;  /* next edge on src */
        Host    *src;
        Host    *dst;
        Edge    *next;  /* next edge on src */
-       Edge    *rev;   /* reverse drection edge */
+       Edge    *rev;   /* reverse direction edge */
 
        uchar   ip[IPaddrlen];
        int     port;
 
        uchar   ip[IPaddrlen];
        int     port;
@@ -1135,7 +1135,7 @@ metaauth(Conn *c)
        if(n != 6 || atoi(f[0]) != META_KEY || strlen(f[5]) != 2*n2)
                return -1;
        if(atoi(f[1]) != EVP_AES256CFB || atoi(f[2]) != EVP_SHA256){
        if(n != 6 || atoi(f[0]) != META_KEY || strlen(f[5]) != 2*n2)
                return -1;
        if(atoi(f[1]) != EVP_AES256CFB || atoi(f[2]) != EVP_SHA256){
-               fprint(2, "%s uses unknown cipher/digest agorithms: %s %s\n",
+               fprint(2, "%s uses unknown cipher/digest algorithms: %s %s\n",
                        c->host->name, f[1], f[2]);
                return -1;
        }
                        c->host->name, f[1], f[2]);
                return -1;
        }