Change misleading comment - 1.1 node does have source ID in the packet
This commit is contained in:
parent
e51ce69079
commit
fb15bef4c0
1 changed files with 1 additions and 1 deletions
|
@ -1430,7 +1430,7 @@ static void handle_incoming_vpn_packet(listen_socket_t *ls, vpn_packet_t *pkt, s
|
||||||
n = NULL; // Don't believe it if we don't have confirmation yet.
|
n = NULL; // Don't believe it if we don't have confirmation yet.
|
||||||
|
|
||||||
if(!n) {
|
if(!n) {
|
||||||
// It might be from a 1.1 node, which might have a source ID in the packet.
|
// It might be from a 1.1 node, which have a source ID in the packet.
|
||||||
pkt->offset = 2 * sizeof(node_id_t);
|
pkt->offset = 2 * sizeof(node_id_t);
|
||||||
from = lookup_node_id(SRCID(pkt));
|
from = lookup_node_id(SRCID(pkt));
|
||||||
if(from && !memcmp(DSTID(pkt), &nullid, sizeof nullid) && from->status.sptps) {
|
if(from && !memcmp(DSTID(pkt), &nullid, sizeof nullid) && from->status.sptps) {
|
||||||
|
|
Loading…
Reference in a new issue