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.
.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
.TP
.B -n
Sets our hostname to
.TP
.B -n
Sets our hostname to
.SH "SEE ALSO"
.IR rsa (8),
.IR ip (3)
.SH "SEE ALSO"
.IR rsa (8),
.IR ip (3)
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;
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;
}