[SR-Users] Via branch parameter in end2end ACK
Daniel-Constantin Mierla
miconda at gmail.com
Fri May 20 22:00:45 CEST 2011
On 5/20/11 9:56 PM, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> if I understood right, it is about 200 ACK which are forwarded
>> stateless. If yes, then should be only in forward.c, the condition at
>> line 545, where the assignment can be changed in a memcpy.
> for example like this? if so, i can go and make the commit.
>
> -- juha
>
> if (syn_branch ) {
> memcpy*(*msg->add_to_branch_s, "z9hG4bKcydzigwkX", 16);
apart that the above line is wrong from syntax point of view -- for sure
due to typo, i guess it should be:
memcpy(msg->add_to_branch_s, "z9hG4bKcydzigwkX", 16);
then the idea is right.
Cheers,
Daniel
> msg->add_to_branch_len=16;
> } else {
--
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda
More information about the sr-users
mailing list