Browse code

core: renamed FL_ADD_XAVP_VIA to FL_ADD_XAVP_VIA_PARAMS

- match better the purpose of the internal flag

Daniel-Constantin Mierla authored on 04/10/2018 12:14:37
Showing 2 changed files
... ...
@@ -2955,7 +2955,8 @@ char* create_via_hf( unsigned int *len,
2955 2955
 	}
2956 2956
 
2957 2957
 	/* test and add xavp params */
2958
-	if(msg && (msg->msg_flags&FL_ADD_XAVP_VIA) && _ksr_xavp_via_params.len>0) {
2958
+	if(msg && (msg->msg_flags&FL_ADD_XAVP_VIA_PARAMS)
2959
+			&& _ksr_xavp_via_params.len>0) {
2959 2960
 		xparams.s = pv_get_buffer();
2960 2961
 		xparams.len = xavp_serialize_fields(&_ksr_xavp_via_params,
2961 2962
 							xparams.s, pv_get_buffer_size());
... ...
@@ -106,7 +106,7 @@ typedef enum request_method {
106 106
 #define FL_RR_ADDED          (1<<18)  /* Record-Route header was added */
107 107
 #define FL_UAC_AUTH          (1<<19)  /* Proxy UAC-like authentication */
108 108
 #define FL_ADD_SRVID         (1<<20) /*!< add 'srvid' to local via hdr */
109
-#define FL_ADD_XAVP_VIA      (1<<21) /*!< add xavp fields to local via params */
109
+#define FL_ADD_XAVP_VIA_PARAMS (1<<21) /*!< add xavp fields to local via params */
110 110
 #define FL_MSG_NOREPLY       (1<<22) /*!< do not send sip reply for request */
111 111
 
112 112
 /* WARNING: Value (1 << 28) is temporarily reserved for use in kamailio call_control