# HG changeset patch # User Sebastien Decugis # Date 1368411148 -28800 # Node ID a731051d2e837e197770a85b66d7129e38cd9aae # Parent 4f33090b96bf04276ac4cf2db7042a1c2786665e Fix handling of the hop-by-hop value for expired messages diff -r 4f33090b96bf -r a731051d2e83 libfdcore/p_sr.c --- a/libfdcore/p_sr.c Mon May 13 10:12:10 2013 +0800 +++ b/libfdcore/p_sr.c Mon May 13 10:12:28 2013 +0800 @@ -186,6 +186,7 @@ CHECK_MALLOC_DO( ed = malloc(sizeof(struct expire_data)), goto error ); ed->sentto = first->chain.head->o; ed->request = first->req; + *((uint32_t *)first->chain.o) = first->prevhbh; /* Restore the hbhid */ fd_list_unlink(&first->chain); fd_list_unlink(&first->expire); free(first);