X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Fnet_packet.c;h=5ebfcce13ab73f5417ee9dd22e87b70051245e05;hb=de14308840a96060d700c93117789e83ec948c01;hp=19ad29cbdd50780af9bc8afafe7b59cef3b895d1;hpb=1296f715b57c88c17299cacadaccdc0be898e0b1;p=tinc diff --git a/src/net_packet.c b/src/net_packet.c index 19ad29cb..5ebfcce1 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -698,7 +698,7 @@ bool send_sptps_data(node_t *to, node_t *from, int type, const void *data, size_ to->incompression = myself->incompression; return send_request(to->nexthop->connection, "%d %s %s %s -1 -1 -1 %d", ANS_KEY, from->name, to->name, buf, to->incompression); } else { - return send_request(to->nexthop->connection, "%d %s %s %d %s", REQ_KEY, from->name, to->name, REQ_SPTPS, buf); + return send_request(to->nexthop->connection, "%d %s %s %d %s", REQ_KEY, from->name, to->name, SPTPS_PACKET, buf); } }