mirror of
				https://github.com/open5gs/open5gs.git
				synced 2025-11-03 21:43:25 +00:00 
			
		
		
		
	[HSS] Improve SWx diameter debug logs
This commit is contained in:
		
				
					committed by
					
						
						Sukchan Lee
					
				
			
			
				
	
			
			
			
						parent
						
							b2f56b9641
						
					
				
				
					commit
					5b66e3159a
				
			@@ -80,7 +80,7 @@ static int hss_ogs_diam_swx_mar_cb( struct msg **msg, struct avp *avp,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    ogs_assert(msg);
 | 
					    ogs_assert(msg);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ogs_debug("Multimedia-Auth-Request");
 | 
					    ogs_debug("Rx Multimedia-Auth-Request");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* Create answer header */
 | 
					    /* Create answer header */
 | 
				
			||||||
    qry = *msg;
 | 
					    qry = *msg;
 | 
				
			||||||
@@ -331,7 +331,7 @@ static int hss_ogs_diam_swx_mar_cb( struct msg **msg, struct avp *avp,
 | 
				
			|||||||
    ret = fd_msg_send(msg, NULL, NULL);
 | 
					    ret = fd_msg_send(msg, NULL, NULL);
 | 
				
			||||||
    ogs_assert(ret == 0);
 | 
					    ogs_assert(ret == 0);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ogs_debug("Multimedia-Auth-Answer");
 | 
					    ogs_debug("Tx Multimedia-Auth-Answer");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* Add this value to the stats */
 | 
					    /* Add this value to the stats */
 | 
				
			||||||
    ogs_assert(pthread_mutex_lock(&ogs_diam_stats_self()->stats_lock) == 0);
 | 
					    ogs_assert(pthread_mutex_lock(&ogs_diam_stats_self()->stats_lock) == 0);
 | 
				
			||||||
@@ -408,7 +408,7 @@ static int hss_ogs_diam_swx_sar_cb( struct msg **msg, struct avp *avp,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    ogs_assert(msg);
 | 
					    ogs_assert(msg);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ogs_debug("Server-Assignment-Request");
 | 
					    ogs_debug("Rx Server-Assignment-Request");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    memset(&subscription_data, 0, sizeof(ogs_subscription_data_t));
 | 
					    memset(&subscription_data, 0, sizeof(ogs_subscription_data_t));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -854,7 +854,7 @@ static int hss_ogs_diam_swx_sar_cb( struct msg **msg, struct avp *avp,
 | 
				
			|||||||
    ret = fd_msg_send(msg, NULL, NULL);
 | 
					    ret = fd_msg_send(msg, NULL, NULL);
 | 
				
			||||||
    ogs_assert(ret == 0);
 | 
					    ogs_assert(ret == 0);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ogs_debug("Server-Assignment-Answer");
 | 
					    ogs_debug("Tx Server-Assignment-Answer");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* Add this value to the stats */
 | 
					    /* Add this value to the stats */
 | 
				
			||||||
    ogs_assert(pthread_mutex_lock(&ogs_diam_stats_self()->stats_lock) == 0);
 | 
					    ogs_assert(pthread_mutex_lock(&ogs_diam_stats_self()->stats_lock) == 0);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user