projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use EVP_MD_CTX_destroy() instead of _free().
[tinc]
/
src
/
net_packet.c
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
21e6c2a
..
44214df
100644
(file)
--- a/
src/net_packet.c
+++ b/
src/net_packet.c
@@
-499,7
+499,7
@@
static void send_sptps_packet(node_t *n, vpn_packet_t *origpkt) {
uint8_t type = 0;
int offset = 0;
- if(
!(DATA(origpkt)[12] | DATA(origpkt)[13]))
{
+ if(
(!(DATA(origpkt)[12] | DATA(origpkt)[13])) && (n->sptps.outstate))
{
sptps_send_record(&n->sptps, PKT_PROBE, (char *)DATA(origpkt), origpkt->len);
return;
}