projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix all spelling errors found by codespell.
[tinc]
/
src
/
net_packet.c
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
1aa881c
..
2175180
100644
(file)
--- a/
src/net_packet.c
+++ b/
src/net_packet.c
@@
-773,7
+773,7
@@
static void send_udppacket(node_t *n, vpn_packet_t *origpkt) {
listen_socket[sock].priority = origpriority;
switch(sa->sa.sa_family) {
listen_socket[sock].priority = origpriority;
switch(sa->sa.sa_family) {
-#if defined(IP
PROTO_IP) && defined(IP
_TOS)
+#if defined(IP_TOS)
case AF_INET:
logger(DEBUG_TRAFFIC, LOG_DEBUG, "Setting IPv4 outgoing packet priority to %d", origpriority);
case AF_INET:
logger(DEBUG_TRAFFIC, LOG_DEBUG, "Setting IPv4 outgoing packet priority to %d", origpriority);
@@
-784,7
+784,7
@@
static void send_udppacket(node_t *n, vpn_packet_t *origpkt) {
break;
#endif
break;
#endif
-#if defined(IP
PROTO_IPV6) & defined(IP
V6_TCLASS)
+#if defined(IPV6_TCLASS)
case AF_INET6:
logger(DEBUG_TRAFFIC, LOG_DEBUG, "Setting IPv6 outgoing packet priority to %d", origpriority);
case AF_INET6:
logger(DEBUG_TRAFFIC, LOG_DEBUG, "Setting IPv6 outgoing packet priority to %d", origpriority);
@@
-929,7
+929,7
@@
bool receive_sptps_record(void *handle, uint8_t type, const void *data, uint16_t
if(!from->status.validkey) {
from->status.validkey = true;
from->status.waitingforkey = false;
if(!from->status.validkey) {
from->status.validkey = true;
from->status.waitingforkey = false;
- logger(DEBUG_META, LOG_INFO, "SPTPS key exchange with %s (%s) succesful", from->name, from->hostname);
+ logger(DEBUG_META, LOG_INFO, "SPTPS key exchange with %s (%s) succes
s
ful", from->name, from->hostname);
}
return true;
}
return true;