# HG changeset patch # User Sebastien Decugis # Date 1369318295 -7200 # Node ID 7a7ec1ad0c44a953920f78f97361844318f52d68 # Parent 7284e41faa464fe689cd8bf9c8f2b834a5d61017 Another missing restore of the hop-by-hop ID upon failover situation diff -r 7284e41faa46 -r 7a7ec1ad0c44 libfdcore/p_sr.c --- a/libfdcore/p_sr.c Wed May 22 15:40:41 2013 +0200 +++ b/libfdcore/p_sr.c Thu May 23 16:11:35 2013 +0200 @@ -320,6 +320,9 @@ if (hdr) hdr->msg_flags |= CMD_FLAG_RETRANSMIT; + /* Restore the original hop-by-hop id of the request */ + *((uint32_t *)sr->chain.o) = sr->prevhbh; + fd_hook_call(HOOK_MESSAGE_FAILOVER, sr->req, (struct fd_peer *)srlist->srs.o, NULL, fd_msg_pmdl_get(sr->req)); /* Requeue for sending to another peer */