mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-30 16:13:51 +00:00
same fix as previous commit, but in another place.
This commit is contained in:
parent
5becae0136
commit
05745d9b9a
@ -1069,8 +1069,7 @@ static int rhizome_fetch_mdp_requestmanifest(struct rhizome_fetch_slot *slot)
|
||||
overlay_mdp_frame mdp;
|
||||
|
||||
bzero(&mdp,sizeof(mdp));
|
||||
struct subscriber *me=find_subscriber(NULL,0,0);
|
||||
memcpy(me->sid,mdp.out.src.sid,SID_SIZE);
|
||||
memcpy(my_subscriber->sid,mdp.out.src.sid,SID_SIZE);
|
||||
mdp.out.src.port=MDP_PORT_RHIZOME_RESPONSE;
|
||||
bcopy(slot->peer_sid,mdp.out.dst.sid,SID_SIZE);
|
||||
mdp.out.dst.port=MDP_PORT_RHIZOME_REQUEST;
|
||||
|
Loading…
x
Reference in New Issue
Block a user