changeset 351:932ed12e1821

Add Route-Record AVP to answers as well
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 07 May 2009 11:01:46 +0900
parents c47a045fd4d6
children 6d22078428a5
files waaad/peer-psm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/waaad/peer-psm.c	Fri May 01 18:29:27 2009 +0900
+++ b/waaad/peer-psm.c	Thu May 07 11:01:46 2009 +0900
@@ -592,7 +592,7 @@
 forward:
 		
 		/* Save the source information with the message */
-		CHECK_FCT_DO(  msg_source_set( msg, peer->p_diamid, peer->p_hash, mdata->msg_flags & CMD_FLAG_REQUEST ),
+		CHECK_FCT_DO(  msg_source_set( msg, peer->p_diamid, peer->p_hash, /* mdata->msg_flags & CMD_FLAG_REQUEST */ /* we actually always add the route-record, even for answers */ 1 ),
 			{
 				CHECK_FCT_DO(  msg_free(msg, 1), /* nothing */ );
 				goto error;
"Welcome to our mercurial repository"