diff freeDiameter/p_psm.c @ 66:dcbd5b5ee55c

Added handling for DWR/DWA
author Sebastien Decugis <sdecugis@nict.go.jp>
date Mon, 30 Nov 2009 17:28:22 +0900
parents 114fac60bc8e
children f0215a3edca9
line wrap: on
line diff
--- a/freeDiameter/p_psm.c	Mon Nov 30 16:16:49 2009 +0900
+++ b/freeDiameter/p_psm.c	Mon Nov 30 17:28:22 2009 +0900
@@ -408,7 +408,7 @@
 				case STATE_REOPEN:
 				case STATE_SUSPECT:
 				case STATE_CLOSING:
-					TRACE_DEBUG(FULL, "Accepted a message while not in OPEN state");
+					TRACE_DEBUG(FULL, "Accepted a message while not in OPEN state... ");
 				/* The standard situation : */
 				case STATE_OPEN:
 					/* We received a valid routable message, update the expiry timer */
@@ -628,18 +628,16 @@
 				goto psm_loop;
 				
 			case STATE_WAITCNXACK_ELEC:
-				
 				/* Abort the initiating side */
 				fd_p_cnx_abort(peer, 0);
-				
-				/* Handle receiver side */
+				/* Process the receiver side */
 				CHECK_FCT_DO( fd_p_ce_process_receiver(peer), goto psm_end );
 				goto psm_loop;
 		}
 	}
 	
 	/* Default action : the handling has not yet been implemented. [for debug only] */
-	TODO("Missing handler in PSM : '%s'\t<-- '%s'", STATE_STR(peer->p_hdr.info.runtime.pir_state), fd_pev_str(event));
+	TODO("Missing handler in PSM for '%s'\t<-- '%s'", STATE_STR(peer->p_hdr.info.runtime.pir_state), fd_pev_str(event));
 	goto psm_loop;
 
 psm_end:
"Welcome to our mercurial repository"