tinc: fix spelling and update manpage (thanks unobe)

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.
cinap_lenrek 2021-08-15 09:54:09 +00:00
parent da085a2d4c
commit 913fdf2497
2 changed files with 4 additions and 4 deletions

View 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/
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
@ -110,7 +110,7 @@ for the VPN.
.TP
.B -n
Sets our hostname to
.IR myhost .
.IR myname .
.SH "SEE ALSO"
.IR rsa (8),
.IR ip (3)

View File

@ -76,7 +76,7 @@ struct Edge
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;
@ -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){
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;
}