Found by codespell.
# Version 1.1pre6 February 20 2013
-* Fixed tincd exitting immediately on Windows.
+* Fixed tincd exiting immediately on Windows.
* Detect PMTU increases.
* Fixed crashes when using a SOCKS5 proxy.
* Fixed control connection when using a proxy.
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
--------------------------------------------------------------------------
where X is the desired number for the utun interface.
You can also omit the number, in which case the first free number will be chosen.
-On OS X version 14 and above tinc supports the build-in "vmnet" driver.
+On OS X version 14 and above tinc supports the built-in "vmnet" driver.
Use this driver if you need to run Tinc in "switch" mode on more recent Macs.
To use the vmnet driver add @samp{DeviceType = vmnet} to @file{tinc.conf}.
"vmnet" devices have a fixed network configuration and cannot be configured with the
}
}
- // connect to ppp procotol
+ // connect to ppp protocol
struct sockaddr_ppp pppaddr;
pppaddr.ppp_len = sizeof(struct sockaddr_ppp);
pppaddr.ppp_family = AF_PPP;
} \
if(++i == n) i = 0; \
} \
- /* We always pick the last slot. It's unfair. But thats life */ \
+ /* We always pick the last slot. */ \
memcpy(&hash->keys[i], key, sizeof(t)); \
hash->values[i] = value; \
} \
return memcmp(&a->in6.sin6_addr, &b->in6.sin6_addr, sizeof(a->in6.sin6_addr));
default:
- logger(DEBUG_ALWAYS, LOG_ERR, "sockaddrcmp() was called with unknown address family %d, exitting!",
+ logger(DEBUG_ALWAYS, LOG_ERR, "sockaddrcmp() was called with unknown address family %d, exiting!",
a->sa.sa_family);
abort();
}
return memcmp(&a->in6.sin6_port, &b->in6.sin6_port, sizeof(a->in6.sin6_port));
default:
- logger(DEBUG_ALWAYS, LOG_ERR, "sockaddrcmp() was called with unknown address family %d, exitting!",
+ logger(DEBUG_ALWAYS, LOG_ERR, "sockaddrcmp() was called with unknown address family %d, exiting!",
a->sa.sa_family);
abort();
}
return subnet_compare_ipv6(a, b);
default:
- logger(DEBUG_ALWAYS, LOG_ERR, "subnet_compare() was called with unknown subnet type %d, exitting!", a->type);
+ logger(DEBUG_ALWAYS, LOG_ERR, "subnet_compare() was called with unknown subnet type %d, exiting!", a->type);
exit(1);
}
char path[PATH_MAX];
char container[PATH_MAX] = {0};
- if (dir == DIR_CONFDIR) {
+ if(dir == DIR_CONFDIR) {
strcpy(path, tmp);
- } else if (dir == DIR_CONFBASE) {
+ } else if(dir == DIR_CONFBASE) {
sprintf(path, "%s/conf", tmp);
strcpy(container, tmp);
- } else if (dir == DIR_CACHE) {
+ } else if(dir == DIR_CACHE) {
sprintf(path, "%s/conf/cache", tmp);
sprintf(container, "%s/conf", tmp);
- } else if (dir == DIR_HOSTS) {
+ } else if(dir == DIR_HOSTS) {
sprintf(path, "%s/conf/hosts", tmp);
sprintf(container, "%s/conf", tmp);
- } else if (dir == DIR_INVITATIONS) {
+ } else if(dir == DIR_INVITATIONS) {
sprintf(path, "%s/conf/invitations", tmp);
sprintf(container, "%s/conf", tmp);
} else {